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