diff options
author | Christoph Berg | 2012-08-26 19:05:55 +0000 |
---|---|---|
committer | Christoph Berg | 2012-08-26 19:05:55 +0000 |
commit | b13c48e848f2ba4ec920548813f161fe94e36999 (patch) | |
tree | 1511967de2d8d825116805323af0c29cb4f51f5a |
Divert /usr/bin/mandb.1
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rw-r--r-- | debian/debhelper.log | 17 | ||||
-rw-r--r-- | debian/postinst | 10 | ||||
-rw-r--r-- | debian/prerm | 10 | ||||
-rwxr-xr-x | debian/rules | 4 |
7 files changed, 62 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e095dc4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pgdg-buildenv (1) sid-pgdg; urgency=low + + * Divert /usr/bin/mandb. + + -- Christoph Berg <[email protected]> Sun, 26 Aug 2012 19:49:11 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..39385cb --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: pgdg-buildenv +Section: misc +Priority: optional +Maintainer: Debian PostgreSQL Maintainers <[email protected]> +Uploaders: Christoph Berg <[email protected]> +Standards-Version: 3.9.3 +Build-Depends: debhelper (>= 8~) +#Vcs-Browser: http://anonscm.debian.org/loggerhead/pkg-postgresql/postgresql-9.2/trunk +#Vcs-Bzr: http://bzr.debian.org/bzr/pkg-postgresql/postgresql-9.2/trunk/ + +Package: pgdg-buildenv +Architecture: all +Depends: fakeroot +Description: metapackage to install in pgdg cowbuilder chroots + metapackage to install in pgdg cowbuilder chroots diff --git a/debian/debhelper.log b/debian/debhelper.log new file mode 100644 index 0000000..afb40d7 --- /dev/null +++ b/debian/debhelper.log @@ -0,0 +1,17 @@ +dh_auto_configure +dh_auto_build +dh_auto_test +dh_prep +dh_installdirs +dh_auto_install +dh_install +dh_installdocs +dh_installchangelogs +dh_installexamples +dh_installman +dh_installcatalogs +dh_installcron +dh_installdebconf +dh_installemacsen +dh_installifupdown +dh_installinfo diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..aae5c4c --- /dev/null +++ b/debian/postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +case $1 in + configure) + dpkg-divert --add --package pgdg-buildenv --rename /usr/bin/mandb + test -e /usr/bin/mandb || ln -s /bin/true /usr/bin/mandb + ;; +esac + +#DEBHELPER# diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..61d519d --- /dev/null +++ b/debian/prerm @@ -0,0 +1,10 @@ +#!/bin/sh + +case $1 in + remove) + [ -L /usr/bin/mandb ] && rm /usr/bin/mandb + dpkg-divert --remove --package pgdg-buildenv --rename /usr/bin/mandb + ;; +esac + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ |