committing changes in /etc made by "-bash"

Package changes:
This commit is contained in:
2023-02-06 14:26:39 +02:00
parent e582ddedad
commit b78b22077d
157 changed files with 2583 additions and 118 deletions

View File

@@ -17,7 +17,7 @@ else
# format "package version\n" (or something similar).
if [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then
dpkg-query -W -f '${Status}\t${Package} ${Version} ${Architecture}\n' | \
egrep '(ok installed|ok config-files)' | cut -f2,3
grep -E '(ok installed|ok config-files)' | cut -f2,3
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = rpm ]; then
rpm -qa --qf "%|epoch?{%{epoch}}:{0}|:%{name}-%{version}-%{release}.%{arch}\n" | sort
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = pacman ]; then
@@ -28,5 +28,11 @@ else
pkg info -E "*"
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = apk ]; then
apk info -v | sort
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = xbps ]; then
xbps-query -l | awk '{print $2}' | sed -r 's/-([^-]+)$/ \1/g;'
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = qlist ]; then
qlist -ICv
elif [ "$LOWLEVEL_PACKAGE_MANAGER" = cave ]; then
cave print-packages -r installed
fi
fi