Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > d8527e69582e025f6643381913ef9b66 > scriptlet

otrs-3.0.10-5mdv2010.2.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
cd /var/www/otrs/var/cron
for foo in *.dist; do cp $foo `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