Remove APT warning
This commit is contained in:
parent
dc271d73ee
commit
b13eaf3564
|
@ -69,7 +69,7 @@ debug_message() { # {{{
|
||||||
is_apt_upgrade_absent() { # {{{
|
is_apt_upgrade_absent() { # {{{
|
||||||
|
|
||||||
## Count the number of upgradable packages and substract 1 for the header
|
## Count the number of upgradable packages and substract 1 for the header
|
||||||
local_apt_upgrade_number="$(apt list --upgradable \
|
local_apt_upgrade_number="$(apt list --upgradable 2>/dev/null \
|
||||||
| wc -l \
|
| wc -l \
|
||||||
| awk '{print $1-1}')"
|
| awk '{print $1-1}')"
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ APT upgrade available for this system: ${RED}${local_apt_upgrade_number:=/dev/nu
|
||||||
is_apt_upgrade_present() { # {{{
|
is_apt_upgrade_present() { # {{{
|
||||||
|
|
||||||
## Count the number of upgradable packages and substract 1 for the header
|
## Count the number of upgradable packages and substract 1 for the header
|
||||||
local_apt_upgrade_number="$(apt list --upgradable \
|
local_apt_upgrade_number="$(apt list --upgradable 2>/dev/null \
|
||||||
| wc -l \
|
| wc -l \
|
||||||
| awk '{print $1-1}')"
|
| awk '{print $1-1}')"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue