a455e2e8ca
git-svn-id: https://svn.code.sf.net/p/qlscribe/svn/trunk@138 cac9541e-1b8d-4bfa-827e-589bba606050
20 lines
221 B
Bash
20 lines
221 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$1" = "remove" -o "$1" = "upgrade" ] ; then
|
|
PID=`pidof lscribed`
|
|
if [ "X$PID" != "X" ] ; then
|
|
kill $PID
|
|
fi
|
|
fi
|
|
|
|
if [ "$1" = "remove" ] ; then
|
|
/etc/init.d/dbus reload
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|
|
|
|
|