Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#! /bin/sh# postinst script for pmk## see: dh_installdeb(1)conffile=/etc/pmk/pmk.confset -eif [ -e /usr/share/debconf/confmodule ]; then. /usr/share/debconf/confmoduleficase "$1" inconfigure|reconfigure)# Note that -s and -g are added by 25_pmksetup.dpatch;# they are not documented in pmksetup(8).tempfile=`mktemp -t pmksetup.XXXXXXXXXX`if pmksetup -s -g \-u PREFIX=\"/usr\" \-u BIN_CC=\"/usr/bin/gcc\" \-u BIN_CXX=\"/usr/bin/g++\" \-u PATH_BIN=\"/usr/local/bin:/usr/bin:/bin\" \-u OS_ARCH=\"`dpkg --print-architecture`\" \2> /dev/null > $tempfile;thenucf --three-way --debconf-ok $tempfile $conffilerm -f $tempfileucfr pmk $conffileelserm -f $tempfileexit 1fi# Clean out any remains of this package from the Debconf databaseif [ -e /usr/share/debconf/confmodule ]; thendb_purgefi;;abort-upgrade|abort-remove|abort-deconfigure);;*)echo "postinst called with unknown argument \`$1'" >&2exit 1;;esac# dh_installdeb will replace this with shell code automatically# generated by other debhelper scripts.#DEBHELPER#exit 0