mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Try with preinstall to prevent weird dir changing with npm i.
This commit is contained in:
parent
8db1a58867
commit
e59dc3e8d0
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "fisherman",
|
"name": "fisherman",
|
||||||
"description": "fish plugin manager",
|
"description": "fish plugin manager",
|
||||||
"version": "2.1.4",
|
"version": "2.1.5",
|
||||||
"author": "Jorge Bucaran",
|
"author": "Jorge Bucaran",
|
||||||
"homepage": "https://github.com/fisherman/fisherman",
|
"homepage": "https://github.com/fisherman/fisherman",
|
||||||
"bugs": "https://github.com/fisherman/fisherman/issues",
|
"bugs": "https://github.com/fisherman/fisherman/issues",
|
||||||
|
@ -15,8 +15,8 @@
|
||||||
"package manager"
|
"package manager"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"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",
|
"preinstall": "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"
|
"preuninstall": "i=\"$XDG_CONFIG_HOME\"; [ -z \"$i\" ] && i=~/.config; i=\"$i/fish/functions\"; rm -f \"$i/fisher.fish\"; exec fish < /dev/tty"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue