Added common dependencies to uninstall script for removal

Signed-off-by: Wouter Servaes <wouterservaes@protonmail.com>
This commit is contained in:
Wouter Servaes 2024-09-11 18:10:09 +02:00
parent 5f1e4680f7
commit e9fdfac569
No known key found for this signature in database
GPG key ID: D15D1B5CCBECEBE3

View file

@ -45,7 +45,7 @@ source "${setupVars}"
package_manager_detect package_manager_detect
# Uninstall packages used by the Pi-hole # Uninstall packages used by the Pi-hole
DEPS=("${INSTALLER_DEPS[@]}" "${PIHOLE_DEPS[@]}" "${OS_CHECK_DEPS[@]}") DEPS=("${INSTALLER_COMMON_DEPS[@]}" "${PIHOLE_COMMON_DEPS[@]}" "${OS_CHECK_COMMON_DEPS[@]}" "${INSTALLER_DEPS[@]}" "${PIHOLE_DEPS[@]}" "${OS_CHECK_DEPS[@]}")
# Compatibility # Compatibility
if [ -x "$(command -v apt-get)" ]; then if [ -x "$(command -v apt-get)" ]; then