Skip to content

Commit 83689f8

Browse files
Supress warning on android package list
Closes #58
1 parent ab1373a commit 83689f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nerdfetch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
ostype="$(uname)"
66

7-
version=8.3.0
7+
version=8.3.1
88
font=nerd
99
distrotype=none
1010
osi=""
@@ -228,7 +228,7 @@ pkg_info-netbsd)
228228
;;
229229
*)
230230
if [ $distrotype = android ]; then
231-
packages="$(pkg list-installed | wc -l)"
231+
packages="$(pkg list-installed 2>/dev/null | wc -l)"
232232
manager="pkg"
233233
else
234234
packages="$(ls /usr/bin | wc -l)"

0 commit comments

Comments
 (0)