Updated install.sh and webinstall.sh to use similar install scripts

This commit is contained in:
wasabi
2025-05-30 17:23:39 -05:00
parent 0c766576d4
commit d3ca4c2539
2 changed files with 6 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
unsupported_shell () {
echo "Your shell $SHELL is not supported by this install script"

View File

@@ -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 () {