diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-12-16 23:25:20 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-12-16 23:25:20 (GMT) |
commit | 7f2e105491287fa1d628038ad3d1f2679b8a1803 (patch) | |
tree | 9249ecde52e2f8e93a351c279ac8f62246b52e77 /debian/prerm | |
parent | 7d2f7bbeeb420ddd8adf3be465d7aaf7f49deb83 (diff) |
added debian packaging directory
Diffstat (limited to 'debian/prerm')
-rwxr-xr-x | debian/prerm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/prerm b/debian/prerm new file mode 100755 index 0000000..9ddebb7 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,12 @@ +#!/bin/sh +# prerm script for rhdropbox + +set -e + +if [ -x "/etc/init.d/rhdropbox" ] && [ "$1" = remove ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d rhdropbox stop || true + else + /etc/init.d/rhdropbox stop || true + fi +fi |