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 Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git]
/
resin
/
resin.install
blob
81665db603497c77e057807296f627bd91589c53
1
post_install() {
2
groupadd -f -g 68 resin
3
id resin &> /dev/null || useradd -u 68 -g resin -d /srv/webapps -s /bin/bash resin
4
}
5
6
post_upgrade() {
7
post_install "$@"
8
}
9
10
post_remove() {
11
userdel resin
12
}
13
14
op=$1
15
shift
16
[ "$(type -t "$op")" = "function" ] && $op "$@"