diff options
author | Michael <michael@fallo.ws> | 2013-02-07 10:40:14 +0000 |
---|---|---|
committer | Michael <michael@fallo.ws> | 2013-02-07 10:40:14 +0000 |
commit | 29b16255b7ad7d9763ed6078869d78e245bc450f (patch) | |
tree | 727def6b776c1019ad59857882029447264744e3 /support | |
parent | 381f4cdb0e5c625dc3def0bc66085dcb0ccd4efc (diff) | |
download | gitlab-shell-29b16255b7ad7d9763ed6078869d78e245bc450f.tar.gz |
Change in deletion warning
Diffstat (limited to 'support')
-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;; |