Skip to content

Commit

Permalink
fat-fingered the check for dpkg when fixing redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jul 9, 2017
1 parent b3f6b9c commit e53fe2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e53fe2a

Please sign in to comment.