From 4e90141cca676a37a2abfb9b6a3aec26eb999232 Mon Sep 17 00:00:00 2001 From: Henric Andersson Date: Sat, 27 Aug 2016 09:44:01 -0700 Subject: [PATCH] Removed sudo call Since AUTOINSTALL requires root and even checks for it, there is nolonger a need to run the package installer with sudo. Solves #90 --- plexupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 60f5906..ae9bde1 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -528,7 +528,7 @@ if [ ! -z "${PLEXSERVER}" -a "${AUTOINSTALL}" = "yes" ]; then fi if [ "${AUTOINSTALL}" = "yes" ]; then - sudo ${DISTRO_INSTALL} "${DOWNLOADDIR}/${FILENAME}" + ${DISTRO_INSTALL} "${DOWNLOADDIR}/${FILENAME}" fi if [ "${AUTODELETE}" = "yes" ]; then