Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > aae3174b4f324083db09c2c89c68a164 > scriptlet

firebird-server-common-2.5.3.26778-4.1.mga5.x86_64.rpm

PREIN

/bin/sh
# Create the firebird user and group if it doesn't exist
/usr/share/rpm-helper/add-user firebird $1 firebird /var/lib/firebird/data /sbin/nologin 

# Add gds_db to /etc/services if needed
FileName=/etc/services
newLine="gds_db          3050/tcp  # Firebird SQL Database Remote Protocol"
oldLine=`grep "^gds_db" $FileName`
if [ -z "$oldLine" ]; then
	echo $newLine >> $FileName
fi

POSTIN

/bin/sh
/usr/bin/systemd-tmpfiles --create firebird.conf

POSTUN

/bin/sh
/usr/share/rpm-helper/del-user firebird $1 firebird