Add the ability to disable install
This commit is contained in:
parent
90ff27de21
commit
d2896feae4
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.disabled
|
@ -3,6 +3,11 @@
|
||||
run_directory=$(dirname "$0")
|
||||
user=$(whoami)
|
||||
|
||||
if [ -f $run_directory/.disabled ]; then
|
||||
echo "Installation is disabled. Exiting..."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Copying bashrc-mine to extensions directory..."
|
||||
cp $run_directory/bashrc-mine /home/$user/.bashrc.d/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user