aboutsummaryrefslogtreecommitdiffstats
path: root/del_repo
diff options
context:
space:
mode:
Diffstat (limited to 'del_repo')
-rwxr-xr-xdel_repo9
1 files changed, 4 insertions, 5 deletions
diff --git a/del_repo b/del_repo
index 4bf9cca..9fb038f 100755
--- a/del_repo
+++ b/del_repo
@@ -1,9 +1,8 @@
#!/bin/bash
-echo -n "Input repo name to delete: "
+echo -n "Input repo name to delete (excluding the .git suffix): "
read repo
-rm -fvr /srv/git/$repo
-rm -fvr ~/$repo
-rm -fvr ~/$repo.git
-
+rm -fvr /srv/git/$repo.git
+rm -fvr ~/$repo*
+rm -fv /srv/www/repositories/$repo*