mirror of https://github.com/garabik/grc.git
install zsh function only into /usr/local...
This commit is contained in:
parent
c244781df8
commit
dbd246f57a
|
@ -25,5 +25,10 @@ cp -fv grc.zsh $CONFDIR
|
|||
cp -fv grc.fish $CONFDIR
|
||||
mkdir -p $PROFILEDIR
|
||||
cp -fv grc.bashrc $PROFILEDIR
|
||||
mkdir -p $PREFIX/zsh/site-functions
|
||||
cp -fv _grc $PREFIX/zsh/site-functions
|
||||
|
||||
# probably we should not install it into site-functions in a debian package...
|
||||
if [ "$PREFIX" = "/usr/local" ]; then
|
||||
mkdir -p $PREFIX/zsh/site-functions
|
||||
cp -fv _grc $PREFIX/zsh/site-functions
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue