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 Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git]
/
mercurial-server
/
mercurial-server.install
blob
df88529dbd54b5e2f022fb202184873172790f7d
1
post_install() {
2
useradd -Um -d /var/lib/mercurial-server -s /bin/sh hg && \
3
su -lc '/usr/share/mercurial-server/init/hginit /usr/share/mercurial-server' hg
4
}
5
6
post_remove() {
7
userdel hg &> /dev/null
8
}