Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > a0f466b432981687aa1cfce4127265a8 > scriptlet

php-dirs-1.0-3.noarch.rpm

PREIN

/bin/sh

 
 
if [ -n "`/usr/bin/getgid http`" ]; then 
	if [ "`/usr/bin/getgid http`" != "51" ]; then 
		echo "Error: group http doesn't have gid=51. Correct this before installing php-dirs." 1>&2 
		exit 1 
	fi 
else 
	echo "Adding group http GID=51." 
	/usr/sbin/groupadd -g 51 -r http 1>&2 || exit $? 
	[ ! -x /usr/sbin/nscd ] || /usr/sbin/nscd -i group || : 
fi;

POSTUN

/bin/sh
if [ "$1" = "0" ]; then
	/usr/lib/rpm/user_group.sh group del http
fi