mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-03 15:40:27 +00:00
Try with preinstall to prevent weird dir changing with npm i.
This commit is contained in:
parent
8db1a58867
commit
e59dc3e8d0
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user