diff --git a/install.sh b/install.sh index 163a387..1c975d2 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh unsupported_shell () { echo "Your shell $SHELL is not supported by this install script" diff --git a/webinstall.sh b/webinstall.sh index c7fde0d..42a2ef8 100755 --- a/webinstall.sh +++ b/webinstall.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh export DOWNLOADURL="" @@ -19,11 +19,10 @@ install () { echo "export STEAMTRICKS_PREFIX=\"$HOME/.steamtricks\"">>"${SHELLPROFILE}" fi - if [ -z "$(echo $PATH | grep 'steamtricks')" ]; then - echo "Install completed! Please source your profile $SHELLPROFILE to load the changes!" - fi - - echo "Install completed! Please source your profile $SHELLPROFILE to load the changes!" + if [ -z "$(echo $PATH | grep 'steamtricks')" ]; then + echo 'export PATH="$PATH:~/.steamtricks/bin"'>>${SHELLPROFILE} + fi + echo "Install completed! Please source your profile $SHELLPROFILE to load the changes!" } install_manager () {