summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-08-14 05:12:55 +0000
committerjsorg71 <jsorg71>2006-08-14 05:12:55 +0000
commitae3e6c3f1f5fe57ead52e4dd15cd398e90f2f59e (patch)
treea7783f82d9ce64587a2d43d835563571003c86b8 /debian
parent2b054f9757418a9b6e1152f2baed87108091fcb5 (diff)
downloadxrdp-proprietary-ae3e6c3f1f5fe57ead52e4dd15cd398e90f2f59e.tar.gz
xrdp-proprietary-ae3e6c3f1f5fe57ead52e4dd15cd398e90f2f59e.zip
more checks in scripts
Diffstat (limited to 'debian')
-rw-r--r--debian/preinst4
-rw-r--r--debian/prerm4
2 files changed, 6 insertions, 2 deletions
diff --git a/debian/preinst b/debian/preinst
index ec85d74f..4db03d17 100644
--- a/debian/preinst
+++ b/debian/preinst
@@ -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
diff --git a/debian/prerm b/debian/prerm
index 5cca9f29..060c2d48 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -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