mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-21 05:43:20 -07:00
Added -y to YUM and removed trailing whitespaces
This commit is contained in:
parent
387d8831a0
commit
f405426fba
1 changed files with 2 additions and 3 deletions
|
@ -261,7 +261,6 @@ if [ -f "${DOWNLOADDIR}/${FILENAME}" -a "${FORCE}" != "yes" ]; then
|
||||||
if [ "${AUTOINSTALL}" != "yes" ]; then
|
if [ "${AUTOINSTALL}" != "yes" ]; then
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SKIP_DOWNLOAD="yes"
|
SKIP_DOWNLOAD="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -282,7 +281,7 @@ fi
|
||||||
|
|
||||||
if [ "${AUTOINSTALL}" == "yes" ]; then
|
if [ "${AUTOINSTALL}" == "yes" ]; then
|
||||||
if [ "${REDHAT}" == "yes" ]; then
|
if [ "${REDHAT}" == "yes" ]; then
|
||||||
sudo yum localinstall "${DOWNLOADDIR}/${FILENAME}"
|
sudo yum -y localinstall "${DOWNLOADDIR}/${FILENAME}"
|
||||||
else
|
else
|
||||||
sudo dpkg -i "${DOWNLOADDIR}/${FILENAME}"
|
sudo dpkg -i "${DOWNLOADDIR}/${FILENAME}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue