Sophie

Sophie

distrib > Mandriva > 7.1 > i586 > by-pkgid > 5d75daada6920b92605d54b1da65991e > scriptlet

rpm-macros-8.2-0.2mdk.noarch.rpm

POSTIN

/bin/sh

# the trick can be used only once else the macros will be included twice
if [ -f /etc/rpm/macros.rpmnew ] && ! grep -q 'update macros (do not remove this comment)' /etc/rpm/macros; then
	echo "Merging new macros into /etc/rpm/macros..."
	cat /etc/rpm/macros.rpmnew >> /etc/rpm/macros && rm -f /etc/rpm/macros.rpmnew
fi