mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fixed the OS type detection for the uninstaller.
This commit is contained in:
parent
e85957d7e6
commit
f43fcabc5a
@ -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…
x
Reference in New Issue
Block a user