diff options
author | Karel Kočí <cynerd@email.cz> | 2016-07-03 11:46:50 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-07-03 11:46:50 +0200 |
commit | a352423a0d15728bcfa824fc1aca666a096db393 (patch) | |
tree | e0160cac17c83abdbfe9c278f5860cc28818ff7e /install | |
parent | 27225fdaa9b65ba686fd9e905ae2b99c9484dd47 (diff) | |
download | myconfigs-a352423a0d15728bcfa824fc1aca666a096db393.tar.gz myconfigs-a352423a0d15728bcfa824fc1aca666a096db393.tar.bz2 myconfigs-a352423a0d15728bcfa824fc1aca666a096db393.zip |
Fix install script
Diffstat (limited to 'install')
-rwxr-xr-x | install | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -18,14 +18,15 @@ if [[ $REPLY =~ ^[Yy]?$ ]]; then inst bashrc $WHOME/.bashrc fi -read -p "Install Bashrc to root? (Y/n) " -if [[ $REPLY =~ ^[Yy]?$ ]]; then - sudo inst bashrc /root/.bashrc -fi +# This doesn't work. sudo can't be called on function +#read -p "Install Bashrc to root? (Y/n) " +#if [[ $REPLY =~ ^[Yy]?$ ]]; then + #sudo inst bashrc /root/.bashrc +#fi read -p "Install GIT configuration? (Y/n) " if [[ $REPLY =~ ^[Yy]?$ ]]; then - sudo inst gitconfig $WHOME/.gitconfig + inst gitconfig $WHOME/.gitconfig fi read -p "Install VIM scripts? (Y/n) " |