server-scripts/list-all-pkgs

12 lines
143 B
Plaintext
Raw Normal View History

2014-10-19 15:27:33 +00:00
#!/bin/sh
(
for c in /data/containers/*
do
if [ -d "$c/rootfs" ]
then
pacman -r "$c/rootfs" -Q
fi
done
) | cut -d ' ' -f 1 | sort | uniq