Mercurial > pkg
comparison src/system-init.pl @ 22:43cfd1a2c523
create program to save acls.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 10 Jan 2013 07:36:04 +0000 |
parents | d46aeb3166d0 |
children | 4d1bc23e4d09 |
comparison
equal
deleted
inserted
replaced
21:d46aeb3166d0 | 22:43cfd1a2c523 |
---|---|
125 | 125 |
126 $pwd = getcwd; | 126 $pwd = getcwd; |
127 execute("gpasswd --add hg-committer hg-wheel"); | 127 execute("gpasswd --add hg-committer hg-wheel"); |
128 execute("gpasswd --add hg-committer users"); | 128 execute("gpasswd --add hg-committer users"); |
129 execute("ln -sf $pwd/profile /pkg/hg-committer/.profile"); | 129 execute("ln -sf $pwd/profile /pkg/hg-committer/.profile"); |
130 execute("ln -sf $pwd/hgrc /pkg/hg-committer/.hgrc"); | |
131 execute("ln -sf $pwd/hg-wrapper /pkg/hg-committer/"); | 130 execute("ln -sf $pwd/hg-wrapper /pkg/hg-committer/"); |
132 execute("ln -sf `which hg` /pkg/hg-committer/"); | 131 execute("ln -sf `which hg` /pkg/hg-committer/"); |
132 | |
133 execute("install -o hg-committer -g hg-wheel -m 660 $pwd/hgignore /.hgignore"); | 133 execute("install -o hg-committer -g hg-wheel -m 660 $pwd/hgignore /.hgignore"); |
134 execute("install -o hg-committer -g hg-wheel -m 660 $pwd/hgrc /.hg/"); | |
134 | 135 |
135 | 136 |
136 | 137 |