mirror of
https://github.com/sbopkg/sbopkg
synced 2024-09-19 14:30:18 +03:00
silence some remove_uninstalled_packages() noise
If the user tried to 'View uninstalled packages' with no packages in OUTPUT, an error message would interrupt the dialog display for an instant.
This commit is contained in:
parent
76e6c5ddb1
commit
2429774709
@ -3129,7 +3129,7 @@ remove_uninstalled_packages() {
|
||||
local PKG
|
||||
|
||||
rm -f $PACKAGES
|
||||
ls $OUTPUT/*$REPO_TAG.t?z | while read PKG; do
|
||||
ls $OUTPUT/*$REPO_TAG.t?z 2>/dev/null | while read PKG; do
|
||||
PKG=${PKG##*/}
|
||||
if [ ! -f /var/log/packages/${PKG%.t?z} ]; then
|
||||
echo "$PKG" >> $PACKAGES
|
||||
|
Loading…
Reference in New Issue
Block a user