Scripts to pathify doesn't needing the .sh ending anymore

This commit is contained in:
ByteDream 2021-06-03 01:13:27 +02:00
parent 67207b367d
commit ba1cf70160

View File

@ -29,11 +29,11 @@ if [ $# -ge 1 ]; then
echo "The script is already installed"
fi
elif [ ! -z $link ]; then
ln -s "$path/$1.sh" $executablePath
ln -s $path/$1.* $executablePath
echo "Pathified $1"
else
cp -r $path /usr/share
ln -s "/usr/share/$1/$1.sh" $executablePath
ln -s /usr/share/$1/$1.* $executablePath
echo "Pathified $1"
fi
else