more checks in scripts

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

4
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
/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 fi

4
debian/prerm vendored

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
if [ -e /usr/lib/xrdp ]; then 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 fi

Loading…
Cancel
Save