diff --git a/package.json b/package.json index d410a49..5f17517 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fisherman", "description": "fish plugin manager", - "version": "2.1.4", + "version": "2.1.5", "author": "Jorge Bucaran", "homepage": "https://github.com/fisherman/fisherman", "bugs": "https://github.com/fisherman/fisherman/issues", @@ -15,8 +15,8 @@ "package manager" ], "scripts": { - "install": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; cp -f fisher.fish \"$i/fisher.fish\"; exec fish < /dev/tty", - "uninstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; rm -f \"$i/fisher.fish\"; exec fish < /dev/tty" + "preinstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; cp -f fisher.fish \"$i/fisher.fish\"; exec fish < /dev/tty", + "preuninstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; rm -f \"$i/fisher.fish\"; exec fish < /dev/tty" }, "repository": { "type": "git",