Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 4061d8d36664eb878c72c5a0bc3896e4 > scriptlet

otrs-3.2.16-1.mga3.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