Updated README, install.sh, and steamtricks.conf.example
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
unsupported_shell () {
|
||||
echo "Your shell $SHELL is not supported by this install script"
|
||||
@@ -11,7 +11,7 @@ unsupported_shell () {
|
||||
install () {
|
||||
mkdir ~/.steamtricks
|
||||
cp -r steamtricks/* ~/.steamtricks
|
||||
export SHELLPROFILE="~/.${1}rc"
|
||||
export SHELLPROFILE="$HOME/.${1}rc"
|
||||
echo "export STEAMTRICKS_PREFIX=\"~/.steamtricks\"">>"${SHELLPROFILE}"
|
||||
echo "export PATH=\"\$PATH:$HOME/.steamtricks/bin\"">>${SHELLPROFILE}
|
||||
source "${SHELLPROFILE}"
|
||||
@@ -26,6 +26,10 @@ install_manager () {
|
||||
esac
|
||||
}
|
||||
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
echo "Please do not run this script as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
read -r -p "Would you like to install the multiple-install game manager? [y/N]" ANS
|
||||
case "$ANS" in
|
||||
|
||||
Reference in New Issue
Block a user