more checks in scripts
This commit is contained in:
parent
2b054f9757
commit
ae3e6c3f1f
4
debian/preinst
vendored
4
debian/preinst
vendored
@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
if [ -e /usr/lib/xrdp/xrdp ]; then
|
||||
/etc/init.d/xrdp_control.sh stop
|
||||
if [ -e /etc/init.d/xrdp_control.sh ]; then
|
||||
/etc/init.d/xrdp_control.sh stop
|
||||
fi
|
||||
fi
|
||||
|
4
debian/prerm
vendored
4
debian/prerm
vendored
@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
if [ -e /usr/lib/xrdp ]; then
|
||||
/etc/init.d/xrdp_control.sh stop
|
||||
if [ -e /etc/init.d/xrdp_control.sh ]; then
|
||||
/etc/init.d/xrdp_control.sh stop
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user