2010-06-01 12:57:33 +02:00
|
|
|
#!/bin/sh
|
2010-04-24 19:30:38 +02:00
|
|
|
|
|
|
|
. $(dirname $0)/adc.common-functions
|
|
|
|
|
|
|
|
get_rights_and_owner gitolite-admin
|
2010-06-01 12:57:33 +02:00
|
|
|
[ -z "$perm_write" ] && die "just *what* are you trying to pull, young man?"
|
2010-04-24 19:30:38 +02:00
|
|
|
|
|
|
|
# and here you let them do the dangerous stuff
|
|
|
|
echo "+rm -rf $GL_REPO_BASE_ABS"
|
|
|
|
sleep 2
|
|
|
|
echo ...just kidding!
|