From a352423a0d15728bcfa824fc1aca666a096db393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 3 Jul 2016 11:46:50 +0200 Subject: Fix install script --- install | 11 ++++++----- 1 file 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) " -- cgit v1.2.3