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
This commit is contained in:
Henric Andersson 2016-08-27 09:44:01 -07:00
commit 4e90141cca

View file

@ -528,7 +528,7 @@ if [ ! -z "${PLEXSERVER}" -a "${AUTOINSTALL}" = "yes" ]; then
fi fi
if [ "${AUTOINSTALL}" = "yes" ]; then if [ "${AUTOINSTALL}" = "yes" ]; then
sudo ${DISTRO_INSTALL} "${DOWNLOADDIR}/${FILENAME}" ${DISTRO_INSTALL} "${DOWNLOADDIR}/${FILENAME}"
fi fi
if [ "${AUTODELETE}" = "yes" ]; then if [ "${AUTODELETE}" = "yes" ]; then