mirror of
https://github.com/G2-Games/welcome.sh.git
synced 2025-04-19 05:22:53 -05:00
Fixed major issue with apt update checking on debian systems
This commit is contained in:
parent
bd0f3f2cc0
commit
b7608a59d0
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ updates () {
|
||||||
updchk () {
|
updchk () {
|
||||||
# Check for APT
|
# Check for APT
|
||||||
if command -v apt-get &> /dev/null; then
|
if command -v apt-get &> /dev/null; then
|
||||||
debian=$(apt-get -s dist-upgrade -V | grep '=>' || [[ $? == 1 ]] | wc -l)
|
debian=$(apt-get -s dist-upgrade -V | grep -c '=>')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for different Arch things
|
# Check for different Arch things
|
||||||
|
|
Loading…
Reference in a new issue