updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / red5-dev / red5.install
blob2ad8128b660f7cc40e71cba1c3cdc775989c3bd2
1 post_install() {
2         groupadd -f -g 67 red5
3         id red5 &> /dev/null || useradd -u 67 -g red5 -d /opt/red5/webapps -s /bin/bash red5
6 post_upgrade() {
7         post_install "$@"
10 post_remove() {
11         userdel red5
12         rm -rf /var/tmp/red5*
15 op=$1
16 shift
17 [ "$(type -t "$op")" = "function" ] && $op "$@"