mirror of
https://github.com/bytedream/scripts.git
synced 2025-12-15 07:20:44 +01:00
Scripts to pathify doesn't needing the .sh ending anymore
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user