Updated install.sh to actually do stuff

This commit is contained in:
wasabi
2025-05-30 17:21:51 -05:00
parent 5698e7108e
commit 0c766576d4

View File

@@ -10,8 +10,7 @@ unsupported_shell () {
install () {
export SHELLPROFILE="$1"
if [ -d "$HOME/.steamtricks" ]; then
else
if [ ! -d "$HOME/.steamtricks" ]; then
mkdir $HOME/.steamtricks
fi
cp -r steamtricks/* $HOME/.steamtricks/
@@ -21,8 +20,10 @@ install () {
fi
if [ -z "$(echo $PATH | grep 'steamtricks')" ]; then
echo "Install completed! Please source your profile $SHELLPROFILE to load the changes!"
echo 'export PATH="$PATH:~/.steamtricks/bin"'>>${SHELLPROFILE}
fi
echo "Install completed! Please source your profile $SHELLPROFILE to load the changes!"
}
install_manager () {