From b3d41b6fb9e71565aec816e61640b376a29c4c8f Mon Sep 17 00:00:00 2001 From: Dustin B Date: Tue, 31 Jul 2018 17:05:03 -0400 Subject: [PATCH] Fixes Testing further --- xo_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xo_install.sh b/xo_install.sh index e81a6fb..1c25916 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -4,8 +4,8 @@ multiverse="http://archive.ubuntu.com/multiverse" if ! grep -q "^deb .*$multiverse" /etc/apt/sources.list; then - sudo add-apt-repository multiverse - else +sudo add-apt-repository multiverse + # Check if we were effectively run as root [ $EUID = 0 ] || { echo "This script needs to be run as root!"; exit 1; }