diff --git a/plexupdate.sh b/plexupdate.sh index 42e42df..40e5406 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -300,7 +300,7 @@ if [ "${AUTOINSTALL}" == "yes" ]; then if [ "${REDHAT}" == "yes" ]; then sudo yum -y install "${DOWNLOADDIR}/${FILENAME}" else - sudo dpkg -i "${DOWNLOADDIR}/${FILENAME}" if [ "${AUTOINSTALL}" == "yes" ]; then + sudo dpkg -i "${DOWNLOADDIR}/${FILENAME}" fi fi