From 0c766576d4f8db748a958ded3b091f39eca88eda Mon Sep 17 00:00:00 2001 From: wasabi Date: Fri, 30 May 2025 17:21:51 -0500 Subject: [PATCH] Updated install.sh to actually do stuff --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 545fd0d..163a387 100755 --- a/install.sh +++ b/install.sh @@ -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 () {