805050a129
Note: "able" still needs bash but it's an easy fix if you need to use it on a bash-challenged machine and care enough
12 lines
273 B
Bash
Executable file
12 lines
273 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. $(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!
|