From e53fe2aa5bf86065840b20bad7e3460368b070eb Mon Sep 17 00:00:00 2001 From: Joe Cooper Date: Sun, 9 Jul 2017 17:06:38 -0500 Subject: [PATCH] fat-fingered the check for dpkg when fixing redirection --- virtualmin-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index e7a08f2..9fa7b33 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -314,7 +314,7 @@ uninstall () { # This is a crummy way to detect package manager...but going through # half the installer just to get here is even crummier. if which rpm 1>/dev/null 2>&1; then package_type=rpm - elif which 1>/dev/null 2>&1; then package_type=deb + elif which dpkg 1>/dev/null 2>&1; then package_type=deb fi case "$package_type" in