Skip to content

Commit 3cb9acd

Browse files
committed
feat: check if removed packages are actually removed
some of those are from main, in case that blows up
1 parent 0472d84 commit 3cb9acd

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

build_files/base/20-tests.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,20 @@ for package in "${IMPORTANT_PACKAGES[@]}"; do
4343
rpm -q "${package}" >/dev/null || { echo "Missing package: ${package}... Exiting"; exit 1 ; }
4444
done
4545

46+
# these packages are supposed to be removed
47+
# and are considered footguns
48+
UNWANTED_PACKAGES=(
49+
firefox
50+
plasma-discover-kns
51+
plasma-discover-rpm-ostree
52+
podman-docker
53+
)
54+
55+
for package in "${UNWANTED_PACKAGES[@]}"; do
56+
if rpm -q "${package}" >/dev/null 2>&1; then
57+
echo "Unwanted package found: ${package}... Exiting"; exit 1
58+
fi
59+
done
4660
IMPORTANT_UNITS=(
4761
brew-update.timer
4862
brew-upgrade.timer

0 commit comments

Comments
 (0)