Update file run_onchange_before_10-remove-bloatware.tmpl

This commit is contained in:
Brian Zalewski 2023-01-12 05:15:38 +00:00
parent 8a2f7cf72a
commit b6860aab29

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" > /dev/null; then
if dpkg -l "$PKG" | grep "$PKG" 2>&1 /dev/null; then
sudo apt-get remove -y "$PKG"
logg success 'Removed `'"$PKG"'` via apt-get'
fi