[debian-edu-commits] debian-edu/pkg-team/ 04/159: more checks in scripts
Dominik George
natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch master
in repository xrdp.
commit 1805a2d38b076b1d60393011502f5de97346a9f8
Author: jsorg71 <jsorg71>
Date: Mon Aug 14 05:12:55 2006 +0000
more checks in scripts
---
preinst | 4 +++-
prerm | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/preinst b/preinst
index ec85d74..4db03d1 100644
--- a/preinst
+++ b/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/prerm b/prerm
index 5cca9f2..060c2d4 100644
--- a/prerm
+++ b/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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git
More information about the debian-edu-commits
mailing list