adc rmrepo: delete reponame from projects.list
This commit is contained in:
parent
51ef951768
commit
b4a3b812a7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue