sysupdate: optimize
This commit is contained in:
parent
6551e574df
commit
433adb5121
1 changed files with 3 additions and 3 deletions
|
|
@ -60,9 +60,9 @@ fi
|
|||
|
||||
#fetch updates
|
||||
|
||||
size=$(zupdate -Mkd) || fetch_error
|
||||
|
||||
packages=$(zupdate -L | cut -d' ' -f1) || fetch_error
|
||||
all=$(zupdate -MkdL) || fetch_error
|
||||
size=$(echo "$all" | head -n1)
|
||||
packages=$(echo "$all" | cut -d' ' -f1 | tail -n+2)
|
||||
|
||||
if [ -z "$packages" ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Reference in a new issue