WIP silverblue update script

This commit is contained in:
John Mertz 2022-10-31 18:17:36 -04:00
parent aa9f93ccdd
commit 963e6c8782
Signed by: jpm
GPG Key ID: E9C5EA2D867501AB
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
COUNT=0
function count() {
RESULTS="`rpm-ostree upgrade --check 2> /dev/null | grep 'rpm-md repo' | cut -d: -f3`;"
RESULTS="`rpm-ostree upgrade --check 2> /dev/null | grep Diff: | sed 's/.*\([0-9][0-9]*\).*/\1/'`"
COUNT=0
for i in $RESULTS; do
i=`echo $i | sed 's/;//'`