repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git]
/
red5-dev
/
red5.install
blob
2ad8128b660f7cc40e71cba1c3cdc775989c3bd2
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
4
}
5
6
post_upgrade() {
7
post_install "$@"
8
}
9
10
post_remove() {
11
userdel red5
12
rm -rf /var/tmp/red5*
13
}
14
15
op=$1
16
shift
17
[ "$(type -t "$op")" = "function" ] && $op "$@"