Update file run_onchange_before_10-remove-bloatware.tmpl

This commit is contained in:
Brian Zalewski 2023-01-12 12:31:41 +00:00
parent 65f0a60f05
commit 00f3b48af7

View file

@ -13,7 +13,7 @@ for PKG in {{ $removePackages }}; do
sudo apk delete "$PKG"
fi
elif command -v apt-get > /dev/null; then
if dpkg -l "$PKG" | grep "$PKG" 2>&1 /dev/null; then
if dpkg -l "$PKG" | grep -E '^ii' /dev/null; then
sudo apt-get remove -y "$PKG"
logg success 'Removed `'"$PKG"'` via apt-get'
fi