Fixed the OS type detection for the uninstaller.
This commit is contained in:
parent
d44e2f081a
commit
6034dfa5e6
|
@ -399,7 +399,7 @@ perl-TimeDate perl-XML-Simple perl-XML-Twig perl-libwww-perl mysql-client"
|
||||||
uninstall () {
|
uninstall () {
|
||||||
set_global_vars
|
set_global_vars
|
||||||
|
|
||||||
if [ "$LINUX" != NO ] || [ "$DISTRO" != "FreeBSD" ] || [ "$DISTRO" != "NetBSD" ]
|
if [ "$LINUX" != "YES" ] && [ "$DISTRO" != "FreeBSD" ] && [ "$DISTRO" != "NetBSD" ]
|
||||||
then
|
then
|
||||||
echo "This is not a Linux-based distro. Uninstaller is currently not working for your OS"
|
echo "This is not a Linux-based distro. Uninstaller is currently not working for your OS"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue