fix debhelper scripts and revert other changes to -5
Jan Wagner
17 years ago
|
0 |
ps-watcher (1.06-6) unstable; urgency=medium
|
|
1 |
|
|
2 |
* fix prerm and postinst to prevent trouble when updating
|
|
3 |
|
|
4 |
-- Jan Wagner <waja@cyconet.org> Thu, 8 Mar 2007 09:20:58 +0100
|
|
5 |
|
0 | 6 |
ps-watcher (1.06-5) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* fix typo in init script which prevents from start
|
25 | 25 |
On Debian systems, the complete text of the GNU General Public License
|
26 | 26 |
can be found in /usr/share/common-licenses/GPL file.
|
27 | 27 |
|
28 | |
The Debian packaging is (C) 2006, 2007 Jan Wagner <waja@cyconet.org> and
|
|
28 |
The Debian packaging is (C) 2006, Jan Wagner <waja@cyconet.org> and
|
29 | 29 |
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
|
5 | 5 |
fi
|
6 | 6 |
|
7 | 7 |
if [ -x "/etc/init.d/ps-watcher" ]; then
|
8 | |
if [ "$startup" = "1" ] && [ -f $CONFIG ]; then
|
|
8 |
update-rc.d ps-watcher defaults 40 >/dev/null
|
|
9 |
if [ "$startup" = "1" ] && [ -f "/etc/default/pswatcher" ]; then
|
9 | 10 |
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
|
10 | 11 |
invoke-rc.d ps-watcher start || exit $?
|
11 | 12 |
else
|
|
13 | 14 |
fi
|
14 | 15 |
fi
|
15 | 16 |
fi
|
16 | |
|
17 | |
#DEBHELPER#
|
4 | 4 |
. /etc/default/ps-watcher
|
5 | 5 |
fi
|
6 | 6 |
|
7 | |
if [ -x "/etc/init.d/ps-watcher" ] && [ "$startup" = "1" ] && [ -f $CONFIG ]; then
|
|
7 |
if [ -x "/etc/init.d/ps-watcher" ] && [ "$startup" = "1" ] && [ -f "/etc/default/pswatcher" ]; then
|
8 | 8 |
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
|
9 | 9 |
invoke-rc.d ps-watcher stop || exit $?
|
10 | 10 |
else
|
11 | 11 |
/etc/init.d/ps-watcher stop || exit $?
|
12 | 12 |
fi
|
13 | 13 |
fi
|
14 | |
|
15 | |
#DEBHELPER#
|