5bc5aa05be
git-svn-id: https://svn.code.sf.net/p/qlscribe/svn/trunk@116 cac9541e-1b8d-4bfa-827e-589bba606050
22 lines
339 B
Bash
22 lines
339 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
|
|
rm -f /etc/dbus-1/system.d/lightscribe.conf
|
|
rm -f /usr/share/dbus-1/system-services/org.lightscribe.Manager.service
|
|
/etc/init.d/dbus reload
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|
|
|
|
|