1
0
forked from mir/linux-vm-tools

Merge pull request #11 from cwilhit/patch-4

Update install.sh
This commit is contained in:
Justin 2018-03-05 11:05:04 -08:00 committed by GitHub
commit 0b596b93eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,15 +16,7 @@ if [ ! $(id -u) ] ; then
exit 1 exit 1
fi fi
# Check if we have the bionic-proposed sources list apt update && apt upgrade -y
cat /etc/apt/sources.list | grep bionic-proposed > /dev/null
if [ "$?" == "1" ]; then
bash -c 'echo "deb http://archive.ubuntu.com/ubuntu/ bionic-proposed restricted main multiverse universe" >> /etc/apt/sources.list <<EOF
EOF'
fi
apt update && apt dist-upgrade -y
if [ -f /var/run/reboot-required ]; then if [ -f /var/run/reboot-required ]; then
echo "A reboot is required in order to proceed with the install." >&2 echo "A reboot is required in order to proceed with the install." >&2