diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-07 02:42:07 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-07 02:42:07 -0800 |
commit | 674765bd78d6d0931db42bd9fe6ba4dcbe513962 (patch) | |
tree | 727def6b776c1019ad59857882029447264744e3 | |
parent | 381f4cdb0e5c625dc3def0bc66085dcb0ccd4efc (diff) | |
parent | 29b16255b7ad7d9763ed6078869d78e245bc450f (diff) | |
download | gitlab-shell-674765bd78d6d0931db42bd9fe6ba4dcbe513962.tar.gz |
Merge pull request #2 from redorkulated/patch-1
Change in deletion warning
-rwxr-xr-x | support/truncate_repositories.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/truncate_repositories.sh b/support/truncate_repositories.sh index 3b14e2e..69402d9 100755 --- a/support/truncate_repositories.sh +++ b/support/truncate_repositories.sh @@ -2,7 +2,7 @@ echo "Danger!!! Data Loss" while true; do - read -p "Do you wish to all directories except gitolite-admin.git from /home/git/repositories/ (y/n) ?: " yn + read -p "Do you wish to delete all directories (except gitolite-admin.git) from /home/git/repositories/ (y/n) ?: " yn case $yn in [Yy]* ) sh -c "find /home/git/repositories/. -maxdepth 1 -not -name 'gitolite-admin.git' -not -name '.' | xargs sudo rm -rf"; break;; [Nn]* ) exit;; |