updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / resin / resin.install
blob81665db603497c77e057807296f627bd91589c53
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
6 post_upgrade() {
7         post_install "$@"
10 post_remove() {
11         userdel resin
14 op=$1
15 shift
16 [ "$(type -t "$op")" = "function" ] && $op "$@"