From 996d0eb313f672fe4644cafe73eaca9b8c3fe32b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 12 Jun 2014 02:32:42 -0400 Subject: pkgconf: Add maintainer scripts. --- diff --git a/pkgconf.pkg/postinst b/pkgconf.pkg/postinst new file mode 100644 index 0000000..7d4fba5 --- /dev/null +++ b/pkgconf.pkg/postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ "x${1}" = 'xconfigure' ]; then + update-alternatives --install /usr/bin/pkg-config pkg-config \ + /usr/bin/pkgconf 10 +fi diff --git a/pkgconf.pkg/prerm b/pkgconf.pkg/prerm new file mode 100644 index 0000000..6594970 --- /dev/null +++ b/pkgconf.pkg/prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ "x${1}" = 'xremove' ]; then + update-alternatives --remove pkg-config /usr/bin/pkgconf +fi -- cgit v0.9.1