12 lines
143 B
Bash
Executable File
12 lines
143 B
Bash
Executable File
#!/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
|