From 17cac380b1e4d99eca516c1bbdbb12551442cca9 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Sat, 14 Apr 2018 19:30:39 -0700 Subject: [PATCH] Make extras/installer install dependencies even when run as root --- extras/installer.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extras/installer.sh b/extras/installer.sh index ee5194a..b15ed72 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -24,6 +24,8 @@ install() { if [ $EUID -ne 0 ]; then sudo $DISTRO_INSTALL $1 || abort "Failed while trying to install '$1'. Please install it manually and try again." + else + $DISTRO_INSTALL $1 || abort "Failed while trying to install '$1'. Please install it manually and try again." fi }