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 23 12:00:23 UTC 2012
[aur-mirror.git]
/
role-svn
/
role.install
blob
3c667e34bec1464142cf4d43ce73b94e171f1372
1
post_install() {
2
groupadd role &> /dev/null
3
useradd -g role -d /opt/role -s /bin/false role &> /dev/null
4
chown -R role:role /opt/role/db
5
}
6
7
post_upgrade() {
8
chown -R role:role /opt/role/db
9
}
10
11
pre_remove() {
12
groupdel role &> /dev/null
13
userdel role &> /dev/null
14
}