various fixes

This commit is contained in:
Stephan Raue 2009-06-07 22:17:49 +02:00
parent beb3e82476
commit df29a33e1c

View File

@ -42,7 +42,7 @@ if [ -n "$need" ]; then
[ -f /etc/lsb-release ] && . /etc/lsb-release
if [ $DISTRIB_ID = "Ubuntu" -a -n "`which apt-get 2>/dev/null`" ]; then
if [ "$DISTRIB_ID" = "Ubuntu" -a -n "`which apt-get 2>/dev/null`" ]; then
echo "**** You seem to use an Ubuntu system ****"
read -p "would you like to sudo apt-get install the needed tools ? (y/n) " ans
[ "$ans" = "y" ] && sudo apt-get install $need_pkg