Changeset 5b94e9e
- Timestamp:
- 2010-08-17T23:34:25Z (14 years ago)
- Branches:
- master
- Children:
- 57782e4
- Parents:
- d20ea9f
- Location:
- debian
- Files:
-
- 1 added
- 3 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
debian/bitlbee-common.postinst
rd20ea9f r5b94e9e 65 65 66 66 if [ -n "$2" -a "$BITLBEE_UPGRADE_DONT_RESTART" != "1" ]; then 67 if which invoke-rc.d >/dev/null 2>&1; then 68 invoke-rc.d bitlbee restart 69 else 70 /etc/init.d/bitlbee restart 71 fi 67 invoke-rc.d bitlbee restart 72 68 fi 73 69 … … 95 91 96 92 if [ -z "$2" ]; then 97 if which invoke-rc.d >/dev/null 2>&1; then 98 invoke-rc.d bitlbee start 99 else 100 /etc/init.d/bitlbee start 101 fi 93 invoke-rc.d bitlbee start 102 94 fi -
debian/bitlbee.prerm
rd20ea9f r5b94e9e 1 1 #!/bin/sh -e 2 2 3 if [ "$1" = "upgrade" ]; then 4 ## To prevent the help function from breaking in currently running 5 ## BitlBee processes. Have to do it like this because dpkg-reconfigure 6 ## looks a lot like an upgrade and we don't want to lose help.txt... 7 if [ -e /usr/share/bitlbee/help.txt ]; then 8 rm -f /usr/share/bitlbee/help.upgrading 9 mv /usr/share/bitlbee/help.txt /usr/share/bitlbee/help.upgrading 10 fi 11 else 12 if which invoke-rc.d >/dev/null 2>&1; then 13 invoke-rc.d bitlbee stop || exit 0 14 else 15 /etc/init.d/bitlbee stop || exit 0 16 fi 3 if [ "$1" != "upgrade" ]; then 4 invoke-rc.d bitlbee stop || exit 0 17 5 fi -
debian/changelog
rd20ea9f r5b94e9e 1 bitlbee (1.3- 0) unstable; urgency=low1 bitlbee (1.3-1) unstable; urgency=low 2 2 3 3 * Setting some bogus version number, fix that later. -
debian/rules
rd20ea9f r5b94e9e 41 41 rm -f build-stamp 42 42 43 rm -rf build-arch-stamp debian/build-* 43 rm -rf build-arch-stamp debian/build-* debian/bitlbee-libpurple.prerm 44 44 $(MAKE) distclean 45 45 … … 52 52 dh_installdirs 53 53 54 $(MAKE) -C debian/build-native install install-etc DESTDIR=`pwd`/debian/bitlbee 54 $(MAKE) -C debian/build-native install DESTDIR=`pwd`/debian/bitlbee 55 $(MAKE) -C debian/build-native install-etc DESTDIR=`pwd`/debian/bitlbee-common 55 56 $(MAKE) -C debian/build-native install-dev DESTDIR=`pwd`/debian/bitlbee-dev 56 patch debian/bitlbee /etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff57 patch debian/bitlbee-common/etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff 57 58 58 59 ifeq ($(BITLBEE_LIBPURPLE),1) 59 $(MAKE) -C debian/build-libpurple install install-etcDESTDIR=`pwd`/debian/bitlbee-libpurple60 patch debian/bitlbee-libpurple/etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff60 $(MAKE) -C debian/build-libpurple install DESTDIR=`pwd`/debian/bitlbee-libpurple 61 ln -sf debian/bitlbee.prerm debian/bitlbee-libpurple.prerm 61 62 endif 62 63 … … 76 77 for p in bitlbee bitlbee-libpurple bitlbee-dev; do rm -r debian/$$p/usr/share/doc/$$p && ln -s bitlbee-common debian/$$p/usr/share/doc/$$p; done 77 78 dh_installdebconf 78 dh_installinit 79 ifeq ($(BITLBEE_LIBPURPLE)$(DH_OPTIONS),1-a) 80 cp -a debian/bitlbee/etc debian/bitlbee-libpurple 81 endif 79 dh_installinit --init-script=bitlbee 82 80 dh_installman 83 81 dh_strip … … 86 84 dh_fixperms 87 85 dh_installdeb 88 ifeq ($(BITLBEE_LIBPURPLE)$(DH_OPTIONS),1-a)89 cp -a debian/bitlbee/DEBIAN/post* debian/bitlbee/DEBIAN/pre* debian/bitlbee-libpurple/DEBIAN90 endif91 86 dh_shlibdeps 92 87 ifdef BITLBEE_VERSION
Note: See TracChangeset
for help on using the changeset viewer.