Skip to content
Snippets Groups Projects
Commit b1abecaf authored by efer's avatar efer
Browse files

linux package install "yes" option

parent fddbea58
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ elif [ $HOST_OS = 'Linux' ]; then
else
echo -e $Y_"Installing $prog using $PKGMAN"$_N "- you may be asked for your password"
chksudo
sudo $PKGMAN install $prog &>/dev/null
sudo $PKGMAN -y install $prog &>/dev/null
if [ $? -ne 0 ]; then
echo -e $R_"\nCould not find $prog in distro repo"$_N
echo -e "Please install manually from $prog project website and run this script again afterwards\n"
......@@ -150,7 +150,7 @@ fi
# User Specific Variables
#
USER=$(whoami)
echo -e "\nEnter your DTU username [$USER]: "
echo -ne "\nEnter your DTU username [$USER]: "
read ANS
case $ANS in
"")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment