Skip to content

Commit

Permalink
Supress warning on android package list
Browse files Browse the repository at this point in the history
Closes #58
  • Loading branch information
ThatOneCalculator committed Nov 5, 2024
1 parent ab1373a commit 83689f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nerdfetch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ostype="$(uname)"

version=8.3.0
version=8.3.1
font=nerd
distrotype=none
osi=""
Expand Down Expand Up @@ -228,7 +228,7 @@ pkg_info-netbsd)
;;
*)
if [ $distrotype = android ]; then
packages="$(pkg list-installed | wc -l)"
packages="$(pkg list-installed 2>/dev/null | wc -l)"
manager="pkg"
else
packages="$(ls /usr/bin | wc -l)"
Expand Down

0 comments on commit 83689f8

Please sign in to comment.