af6820a94b
(can_* == can_read, can_write, and can_create) See top of contrib/adc/adc.common-functions for more on this. Note: the old style (calling get_rights_and_owner with $repo, then checking $perm_read, $perm_write, etc.), will still work fine.
11 lines
225 B
Bash
Executable file
11 lines
225 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. $(dirname $0)/adc.common-functions
|
|
|
|
is_admin || 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!
|