diff --git a/plexupdate.sh b/plexupdate.sh index 5bd8d5e..28f0080 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -280,9 +280,9 @@ fi if [ "${AUTOINSTALL}" == "yes" ]; then if [ "${REDHAT}" == "yes" ]; then - yum localinstall "${DOWNLOADDIR}/${FILENAME}" + sudo yum localinstall "${DOWNLOADDIR}/${FILENAME}" else - dpkg -i "${DOWNLOADDIR}/${FILENAME}" + sudo dpkg -i "${DOWNLOADDIR}/${FILENAME}" fi fi