Adding sudo before sudo rm -rf /tmp/gitolite-admin (root privileges needed)
This commit is contained in:
parent
0a3874f6a3
commit
6e3db9a501
|
@ -41,4 +41,4 @@ sudo chmod -R g+rwX /home/git/repositories/
|
|||
sudo chown -R git:git /home/git/repositories/
|
||||
|
||||
sudo -u gitlab -H git clone git@localhost:gitolite-admin.git /tmp/gitolite-admin
|
||||
rm -rf /tmp/gitolite-admin
|
||||
sudo rm -rf /tmp/gitolite-admin
|
||||
|
|
Loading…
Reference in New Issue