diff --git a/.gitignore b/.gitignore index f8f86ad..99a3140 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ variables.conf - +.disabled diff --git a/install.sh b/install.sh index 0cba5c8..7af597f 100755 --- a/install.sh +++ b/install.sh @@ -3,6 +3,11 @@ run_directory=$(dirname "$0") user=$(whoami) +if [ -f $run_directory/.disabled ]; then + echo "Installation is disabled. Exiting..." + exit 0 +fi + if [ ! -d /home/$user/.bashrc.d ]; then echo "~/.bashrc.d does not exist. Creating it..." mkdir /home/$user/.bashrc.d