Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 3ec4840e796361d1bfa019bbfa6826d3 > scriptlet

colord-1.4.6-1.mga9.i586.rpm

PREIN

/bin/sh
/usr/share/rpm-helper/add-user colord $1 colord /var/lib/colord /usr/sbin/nologin

PREUN

/bin/sh
/usr/share/rpm-helper/del-service colord $1 colord

POSTIN

/bin/sh
if [ -f /var/lib/colord/mapping.db ]; then
        if [ ! $(stat -c %U /var/lib/colord/mapping.db) == "colord" ];then
                chown colord: /var/lib/colord/*.db
       	fi
fi

/usr/share/rpm-helper/add-service colord $1 colord

POSTUN

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