MXS-1326: Fix postrm script
The script could only work on RPM based systems as DEB based uninstall scripts are called with different parameters, namely "remove" instead of "0".
This commit is contained in:
parent
f16e93c112
commit
ba3912ddb4
@ -3,7 +3,7 @@
|
||||
# The first argument is the number of packages left after
|
||||
# this one has been removed. If it is 0 then the package is being
|
||||
# removed from the system.
|
||||
if [ "$1" -eq 0 ]
|
||||
if [ "$1" = "0" ] || [ "$1" = "remove" ]
|
||||
then
|
||||
if [ -f /etc/init.d/maxscale ]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user