Fixed the OS type detection for the uninstaller.

This commit is contained in:
Ramon Novoa 2014-09-18 17:03:31 +02:00
parent d44e2f081a
commit 6034dfa5e6
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ perl-TimeDate perl-XML-Simple perl-XML-Twig perl-libwww-perl mysql-client"
uninstall () {
set_global_vars
if [ "$LINUX" != NO ] || [ "$DISTRO" != "FreeBSD" ] || [ "$DISTRO" != "NetBSD" ]
if [ "$LINUX" != "YES" ] && [ "$DISTRO" != "FreeBSD" ] && [ "$DISTRO" != "NetBSD" ]
then
echo "This is not a Linux-based distro. Uninstaller is currently not working for your OS"
exit 1