Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 759365e3eb0a9b87b0e1c4edcb3a243f > scriptlet

otrs-3.2.17-1.mga4.noarch.rpm

PREIN

/bin/sh
/usr/share/rpm-helper/add-user otrs $1 otrs /var/www/otrs /bin/false

PREUN

/bin/sh
/var/www/otrs/bin/Cron.sh stop otrs

POSTIN

/bin/sh
/var/www/otrs/bin/otrs.SetPermissions.pl  --otrs-user=otrs --web-user=apache --otrs-group=otrs --web-group=apache /var/www/otrs
for foo in *.dist; do cp $foo /var/www/otrs/var/cron/`basename $foo .dist`; done
/var/www/otrs/bin/Cron.sh start otrs

POSTUN

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