Fix the fish path in scripts/postinst.sh.

This commit is contained in:
Username404-59 2021-02-26 14:24:42 +01:00
parent 580500ada9
commit aeafd990e4
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if [ -d $bashcompleteLoc ]; then
ln -sf "$ybconDir/bash-completion.sh" "$bashcompleteLoc/ybcon.sh"
fi
if [ -f "fish" ]; then
if [ -f "/usr/bin/fish" ]; then
if [ ! -d $fishLoc ]; then
mkdir "$fishLoc"
fi