install zsh function only into /usr/local...

This commit is contained in:
Radovan Garabík 2018-04-28 19:25:30 +02:00
parent c244781df8
commit dbd246f57a
1 changed files with 7 additions and 2 deletions

View File

@ -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