Updated install.sh and webinstall.sh to use similar install scripts
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
unsupported_shell () {
|
unsupported_shell () {
|
||||||
echo "Your shell $SHELL is not supported by this install script"
|
echo "Your shell $SHELL is not supported by this install script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
export DOWNLOADURL=""
|
export DOWNLOADURL=""
|
||||||
|
|
||||||
@@ -19,11 +19,10 @@ install () {
|
|||||||
echo "export STEAMTRICKS_PREFIX=\"$HOME/.steamtricks\"">>"${SHELLPROFILE}"
|
echo "export STEAMTRICKS_PREFIX=\"$HOME/.steamtricks\"">>"${SHELLPROFILE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$(echo $PATH | grep 'steamtricks')" ]; then
|
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
|
fi
|
||||||
|
echo "Install completed! Please source your profile $SHELLPROFILE to load the changes!"
|
||||||
echo "Install completed! Please source your profile $SHELLPROFILE to load the changes!"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
install_manager () {
|
install_manager () {
|
||||||
|
|||||||
Reference in New Issue
Block a user