From bfe007be672e973b3cd208434f10e5298657a392 Mon Sep 17 00:00:00 2001 From: cassio Date: Mon, 31 Aug 2015 15:02:12 +0100 Subject: small fixes --- tools/install_14_04_3.sh | 5 ++++- tools/installv2.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/install_14_04_3.sh b/tools/install_14_04_3.sh index d4f180e..e75f2e9 100755 --- a/tools/install_14_04_3.sh +++ b/tools/install_14_04_3.sh @@ -176,7 +176,10 @@ EOF cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop/ chmod 755 /etc/skel/Desktop/*.desktop -[ "`which gconftool`" == "" ] || gconftool -s -t bool /apps/update-notifier/auto_launch false +if [ "`which gconftool`" != "" ]; then + su - icpcadmin -c "gconftool -s -t bool /apps/update-notifier/auto_launch false" + su - icpc -c "gconftool -s -t bool /apps/update-notifier/auto_launch false" +fi pass=`echo -n icpc | makepasswd --clearfrom - --crypt-md5 | cut -d'$' -f2-` pass=\$`echo $pass` diff --git a/tools/installv2.sh b/tools/installv2.sh index d4f180e..e75f2e9 100755 --- a/tools/installv2.sh +++ b/tools/installv2.sh @@ -176,7 +176,10 @@ EOF cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop/ chmod 755 /etc/skel/Desktop/*.desktop -[ "`which gconftool`" == "" ] || gconftool -s -t bool /apps/update-notifier/auto_launch false +if [ "`which gconftool`" != "" ]; then + su - icpcadmin -c "gconftool -s -t bool /apps/update-notifier/auto_launch false" + su - icpc -c "gconftool -s -t bool /apps/update-notifier/auto_launch false" +fi pass=`echo -n icpc | makepasswd --clearfrom - --crypt-md5 | cut -d'$' -f2-` pass=\$`echo $pass` -- cgit v1.2.3