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; }