more checks in scripts

ulab-original
jsorg71 19 years ago
parent 2b054f9757
commit ae3e6c3f1f

2
debian/preinst vendored

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
if [ -e /usr/lib/xrdp/xrdp ]; then if [ -e /usr/lib/xrdp/xrdp ]; then
if [ -e /etc/init.d/xrdp_control.sh ]; then
/etc/init.d/xrdp_control.sh stop /etc/init.d/xrdp_control.sh stop
fi
fi fi

2
debian/prerm vendored

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
if [ -e /usr/lib/xrdp ]; then if [ -e /usr/lib/xrdp ]; then
if [ -e /etc/init.d/xrdp_control.sh ]; then
/etc/init.d/xrdp_control.sh stop /etc/init.d/xrdp_control.sh stop
fi
fi fi

Loading…
Cancel
Save