From b0ff37ee9be7982f9f9a68c33d24cf2a33b24332 Mon Sep 17 00:00:00 2001 From: Henric Andersson Date: Fri, 31 Jul 2015 13:19:07 -0700 Subject: [PATCH] Minor tweak to see if dpkg -i issue disappears --- plexupdate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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