From 550a88ce47785dd6aede3413b9f1483a4eda1b8a Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 13 May 2019 17:18:12 +0300 Subject: [PATCH] puke: Simplify listing --- puke | 1 - 1 file changed, 1 deletion(-) diff --git a/puke b/puke index f0bd3b1d..e8cb4b54 100755 --- a/puke +++ b/puke @@ -166,7 +166,6 @@ pkg_list() { [ "$1" ] && { [ -d "$sys_dir/$dbs_dir/$1" ]; return "$?"; } for pkg in "$sys_dir/$dbs_dir/"*; do - [ -d "$pkg" ] || continue read -r version release < "$pkg/version" printf '%s\n' "${pkg##*/} $version-$release" done