Adding sudo before sudo rm -rf /tmp/gitolite-admin (root privileges needed)

This commit is contained in:
bgondy 2012-05-12 01:42:16 +03:00
parent 0a3874f6a3
commit 6e3db9a501

View file

@ -41,4 +41,4 @@ sudo chmod -R g+rwX /home/git/repositories/
sudo chown -R git:git /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 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