summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlist-installed.d/50list-installed2
1 files changed, 1 insertions, 1 deletions
diff --git a/list-installed.d/50list-installed b/list-installed.d/50list-installed
index 177a6c2..f3f4eed 100755
--- a/list-installed.d/50list-installed
+++ b/list-installed.d/50list-installed
@@ -6,5 +6,5 @@ if [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then
dpkg-query -W -f '${Status}\t${Package} ${Version}\n' | \
egrep '(ok installed|ok config-files)' | cut -f2,3
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = rpm ]; then
- rpm -qa --queryformat "%{name} %{version} %{arch}\n" | sort
+ rpm -qa --qf "%|epoch?{%{epoch}}:{0}|:%{name}-%{version}-%{release}.%{arch}\n" | sort
fi