Thread
:
[Announce] I am here - Request GPS position and more with SMS
View Single Post
Reeby
2010-05-07 , 08:20
Posts: 92 | Thanked: 17 times | Joined on Feb 2010
#
379
mauron85, here is the result of the command (I'll wait for your reply to go any furher. Thanks again for your help!)
Nokia-N900-42-11:~# cat /var/lib/dpkg/info/imhere-0.3.prerm
#!/bin/sh
# prerm script for imhere
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see
http://www.debian.org/doc/debian-policy/
or
# the debian-policy package
case "$1" in
upgrade|remove|failed-upgrade|deconfigure)
UNINSTALL_NAME='/etc/init.d/imhere-0.3.uninstall'
if [ -f $UNINSTALL_NAME ];
then
PROGRAM_NAME='/usr/bin/imhere-0.3'
ps ax | grep -v grep | grep $PROGRAM_NAME > /dev/null
if [ $? -eq 0 ]; then
killall 'imhere-0.3'
fi
else
echo "remove/upgrade not enabled \`$1'" >&2
exit 1
fi
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
exit 0
Nokia-N900-42-11:~#
Quote & Reply
|
Reeby
View Public Profile
Send a private message to Reeby
Find all posts by Reeby