aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-07-03 11:46:50 +0200
committerKarel Kočí <cynerd@email.cz>2016-07-03 11:46:50 +0200
commita352423a0d15728bcfa824fc1aca666a096db393 (patch)
treee0160cac17c83abdbfe9c278f5860cc28818ff7e /install
parent27225fdaa9b65ba686fd9e905ae2b99c9484dd47 (diff)
downloadmyconfigs-a352423a0d15728bcfa824fc1aca666a096db393.tar.gz
myconfigs-a352423a0d15728bcfa824fc1aca666a096db393.tar.bz2
myconfigs-a352423a0d15728bcfa824fc1aca666a096db393.zip
Fix install script
Diffstat (limited to 'install')
-rwxr-xr-xinstall11
1 files changed, 6 insertions, 5 deletions
diff --git a/install b/install
index 52970bc..632360e 100755
--- a/install
+++ b/install
@@ -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) "