mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-09-17 20:04:54 +08:00
Update 90-footer
This commit is contained in:
parent
cef9ac8b88
commit
4c9d255251
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
UpdateLog="/var/log/PackagesUpdatingStatus.log"
|
||||
[[ -f "$UpdateLog" ]] && rm -rf $UpdateLog
|
||||
|
||||
apt list --upgradable | awk 'END{print NR}' | tee -a "$UpdateLog" > /dev/null 2>&1
|
||||
apt list --upgradable | awk 'END{print NR}' | tee -a "$UpdateLog" >/dev/null 2>&1
|
||||
UpdateRemind=$(cat $UpdateLog | tail -n 1)
|
||||
UpdateNum=$(expr $UpdateRemind - 1)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue