Subversion Repositories pmk

Compare Revisions

Ignore whitespace Rev 9 → Rev 10

/trunk/debian/changelog
1,3 → 1,9
pmk (0.10.2-2) unstable; urgency=low
 
* Obey $DEBIAN_SCRIPT_DEBUG to facilitate postinst script debugging.
 
-- Magnus Holmgren <magnus@kibibyte.se> Thu, 03 May 2007 13:44:19 +0200
 
pmk (0.10.2-1) unstable; urgency=low
 
* New upstream version.
/trunk/debian/pmk.postinst
6,6 → 6,7
conffile=/etc/pmk/pmk.conf
 
set -e
test $DEBIAN_SCRIPT_DEBUG && set -v -x
 
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
16,13 → 17,14
# 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\" \
settings="-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;
-u OS_ARCH=\"`dpkg --print-architecture`\""
 
if { if test $DEBIAN_SCRIPT_DEBUG; then pmksetup -V -s -g $settings;
else pmksetup -s -g $settings 2> /dev/null; fi } > $tempfile
then
ucf --three-way --debconf-ok $tempfile $conffile
rm -f $tempfile