WIP silverblue update script
This commit is contained in:
parent
aa9f93ccdd
commit
963e6c8782
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
COUNT=0
|
COUNT=0
|
||||||
function count() {
|
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
|
COUNT=0
|
||||||
for i in $RESULTS; do
|
for i in $RESULTS; do
|
||||||
i=`echo $i | sed 's/;//'`
|
i=`echo $i | sed 's/;//'`
|
||||||
|
|
Loading…
Reference in New Issue