Updated virtualbox install

This commit is contained in:
MatMoul 2016-03-14 00:29:53 +01:00
parent 57aebb604b
commit 678dc456e4

View file

@ -34,7 +34,6 @@ for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')" pkg="$pkg $(echo $itm | sed 's/"//g')"
;; ;;
'"virtualbox"' ) '"virtualbox"' )
pkg="$pkg $(echo $itm | sed 's/"//g')"
pacman -Q linux-headers > /dev/null pacman -Q linux-headers > /dev/null
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
if ( confirm "Virtualbox require linux-headers for DKMS.\nInstall linux-headers ?" ) then if ( confirm "Virtualbox require linux-headers for DKMS.\nInstall linux-headers ?" ) then
@ -47,6 +46,7 @@ for itm in $sel; do
pkg="$pkg qt4" pkg="$pkg qt4"
fi fi
fi fi
pkg="$pkg $(echo $itm | sed 's/"//g')"
;; ;;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";; *) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac esac