more checks in scripts

This commit is contained in:
jsorg71 2006-08-14 05:12:55 +00:00
parent 2b054f9757
commit ae3e6c3f1f
2 changed files with 6 additions and 2 deletions

4
debian/preinst vendored
View File

@ -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
View File

@ -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