Files
qlscribe/debian/prerm
T
ruglory 5bc5aa05be Changes for ubuntu proper build
git-svn-id: https://svn.code.sf.net/p/qlscribe/svn/trunk@116 cac9541e-1b8d-4bfa-827e-589bba606050
2009-03-05 06:06:05 +00:00

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