Update install

This commit is contained in:
zenobit 2020-08-23 08:12:04 +00:00
parent 2739d13d89
commit cb6d95206b
1 changed files with 16 additions and 0 deletions

16
install
View File

@ -25,6 +25,22 @@ fi
#sudo xbps-install -Sy $(cat INSTALL/3_nvidia)
sudo xbps-install -Sy $(cat INSTALL/4_desktop)
# Choose window manager
echo "$(tput setaf 1) Which windows manager you want use?$(tput sgr 0)"
read -p "openbox (o) or awesome (a) or nothing (n)[o/a/n] " -n 1 vm
echo
if [[ $vm = "o" ]]; then
sudo xbps-install -S $(cat INSTALL/5_openbox)
elif [[ $vm = "a" ]]; then
sudo xbps-install -S $(cat INSTALL/5_awesome)
elif [[ $vm = "n" ]]; then
echo "$(tput setaf 1) Install something else..$(tput sgr 0)"
else
echo "Invalid option."
exit 1
fi
sudo xbps-install -Sy $(cat INSTALL/5_openbox)
#sudo xbps-install -Sy $(cat INSTALL/6_media)
#sudo xbps-install -Sy $(cat INSTALL/7_virtual)