Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 4922e7403ce8f4604e7c07bf4a4c7df9 > scriptlet

cvsspam-0.2.12-7.noarch.rpm

Triggers

cvsspam < 0.2.11-5.3

/bin/sh
# need rmdir, because the path belongs to new package (is %ghosted) and therefore is not removed by rpm
rmdir /usr/lib64/cvsspam 2>/dev/null || mv -v /usr/lib64/cvsspam{,.rpmsave}
ln -s /usr/share/cvsspam /usr/lib64/cvsspam

RPM_SCRIPTVERBOSITY=5 
[ -r /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm 
if [ -x /usr/bin/banner.sh ]; then 
	CMD="/usr/bin/banner.sh --stderr $([ $RPM_SCRIPTVERBOSITY -ge 5 ] && echo -s) -m cvsspam" 
else 
	CMD="cat >&2" 
fi 
eval $CMD <