diff options
author | jsorg71 <jsorg71> | 2006-08-14 05:12:55 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2006-08-14 05:12:55 +0000 |
commit | ae3e6c3f1f5fe57ead52e4dd15cd398e90f2f59e (patch) | |
tree | a7783f82d9ce64587a2d43d835563571003c86b8 /debian | |
parent | 2b054f9757418a9b6e1152f2baed87108091fcb5 (diff) | |
download | xrdp-proprietary-ae3e6c3f1f5fe57ead52e4dd15cd398e90f2f59e.tar.gz xrdp-proprietary-ae3e6c3f1f5fe57ead52e4dd15cd398e90f2f59e.zip |
more checks in scripts
Diffstat (limited to 'debian')
-rw-r--r-- | debian/preinst | 4 | ||||
-rw-r--r-- | debian/prerm | 4 |
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 |