Update linupx-scripts.sh

This commit is contained in:
2018-09-19 10:54:47 -05:00
parent 48ba5a3010
commit f5aed0095a

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# LinUPx - Linux Update Scripts
action="$1"
@@ -71,6 +71,8 @@ UPDATE2() {
}
UPDATE3() {
export DEBIAN_FRONTEND="noninteractive"
source /etc/environment
bash /etc/skel/.profile
mv -f /opt/runupdates.log.2 /opt/runupdates.log.3
mv -f /opt/runupdates.log.1 /opt/runupdates.log.2
mv -f /opt/runupdates.log /opt/runupdates.log.1