adc rmrepo: delete reponame from projects.list

This commit is contained in:
Sitaram Chamarty 2010-10-06 20:03:50 +05:30
parent 51ef951768
commit b4a3b812a7

View file

@ -21,3 +21,8 @@ get_rights_and_owner $delete
cd $GL_REPO_BASE_ABS
rm -rf $delete.git
cd $HOME
PROJECTS_LIST=$(perl -e 'do ".gitolite.rc"; print $PROJECTS_LIST')
export delete
perl -ni -e 'print unless /^\Q$ENV{delete}.git\E$/' $PROJECTS_LIST