puke: Fix listing

This commit is contained in:
Dylan Araps 2019-05-10 18:20:02 +03:00
parent 626ac4d455
commit eb9c8d41cb

2
puke
View File

@ -182,7 +182,7 @@ pkg_list() {
}
for pkg in "$sys_dir/var/db/puke/"*; do
[ -f "$pkg" ] || continue
[ -d "$pkg" ] || continue
read -r version release < "$pkg/version"
log "${pkg##*/} $version-$release"
done