Forgot to update the vars after debug
This commit is contained in:
parent
8ea845f74e
commit
19a233d145
|
@ -66,10 +66,9 @@ debug_message() { # {{{
|
|||
is_apt_upgrade_absent() { # {{{
|
||||
|
||||
## Count the number of upgradable packages and substract 1 for the header
|
||||
#local_apt_upgrade_number="$(apt list --upgradable \
|
||||
#| wc -l \
|
||||
#| awk '{print $1-1}')"
|
||||
local_apt_upgrade_number="5"
|
||||
local_apt_upgrade_number="$(apt list --upgradable \
|
||||
| wc -l \
|
||||
| awk '{print $1-1}')"
|
||||
|
||||
case "${local_apt_upgrade_number}" in
|
||||
0 ) ## No available upgrade
|
||||
|
@ -91,10 +90,9 @@ APT upgrade available for this system: ${RED}${local_apt_upgrade_number:=/dev/nu
|
|||
is_apt_upgrade_present() { # {{{
|
||||
|
||||
## Count the number of upgradable packages and substract 1 for the header
|
||||
#local_apt_upgrade_number="$(apt list --upgradable \
|
||||
#| wc -l \
|
||||
#| awk '{print $1-1}')"
|
||||
local_apt_upgrade_number="5"
|
||||
local_apt_upgrade_number="$(apt list --upgradable \
|
||||
| wc -l \
|
||||
| awk '{print $1-1}')"
|
||||
|
||||
case "${local_apt_upgrade_number}" in
|
||||
0 ) ## No available upgrade
|
||||
|
|
Loading…
Reference in New Issue