From 26bec49f6ac4f648b62c20d033698110c2f9a33c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 18 Sep 2018 09:53:53 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index c76036e..7fe42b1 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -75,13 +75,13 @@ UPDATE3() { mv -f /opt/runupdates.1 /opt/runupdates.2 mv -f /opt/runupdates /opt/runupdates.1 if type yum &>/dev/null; then - $APTFUNC -y update >> /opt/runupdates + yum -y update >> /opt/runupdates else if [ "$useAutoremove" -ne 0 ]; then - $APTFUNC -y autoremove >> /opt/runupdates - $APTFUNC update >> /opt/runupdates - $APTFUNC upgrade -y >> /opt/runupdates - $APTFUNC -y autoremove >> /opt/runupdates + apt-get -y autoremove >> /opt/runupdates + apt-get update >> /opt/runupdates + apt-get upgrade -y >> /opt/runupdates + apt-get -y autoremove >> /opt/runupdates fi fi echo ""