Subversion Repositories pike

Compare Revisions

Ignore whitespace Rev 86 → Rev 87

/trunk/debian/pike7.8-core.postinst
30,6 → 30,16
# `abort-remove' or `abort-deconfigure'.
LOCAL_DIRS="lib/pike/modules lib/pike${PIKE}/modules lib/pike/include lib/pike${PIKE}/include"
 
update_modules () {
$PIKEBIN -x dump $@ -q -r /usr/lib/$PIKEBIN/modules
find /usr/lib/$PIKEBIN/modules -name '*.o' | sed 's/.o$//' |
while read f; do
if [ ! -f $f ]; then
rm -f $f.o
fi
done
}
 
case "$1" in
configure)
update-alternatives --install /usr/bin/pike pike /usr/bin/${PIKEBIN} 12 \
42,6 → 52,8
install -d -m 755 -o root -g root /usr/local/$d || true
fi
done
 
update_modules
;;
 
abort-upgrade|abort-remove|abort-deconfigure)
48,6 → 60,9
 
;;
 
triggered)
update_modules -u
 
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
/trunk/debian/pike7.8-core.triggers
0,0 → 1,0
interest /usr/lib/pike7.8/modules
/trunk/debian/changelog
1,3 → 1,10
pike7.8 (7.8.352-dfsg-2) unstable; urgency=low
 
* Add trigger for dumping of Pike modules when pike7.8-core or any
module package is installed.
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 05 Jun 2010 22:16:43 +0200
 
pike7.8 (7.8.352-dfsg-1) experimental; urgency=low
 
* New upstream release.