gitolite/contrib/adc/restrict-admin
2010-04-25 13:21:16 +05:30

12 lines
275 B
Bash
Executable file

#!/bin/bash
. $(dirname $0)/adc.common-functions
get_rights_and_owner gitolite-admin
[[ -z $perm_write ]] && die "just *what* are you trying to pull, young man?"
# and here you let them do the dangerous stuff
echo "+rm -rf $GL_REPO_BASE_ABS"
sleep 2
echo ...just kidding!