diff --git a/roles/distgit/files/mkbranch b/roles/distgit/files/mkbranch index 27526804f9..1230571fec 100644 --- a/roles/distgit/files/mkbranch +++ b/roles/distgit/files/mkbranch @@ -118,14 +118,6 @@ if [ -n "$TEST" ] ; then exit 0 fi -# This account must have the proper permissions as to not screw up the -# repository work. -if [ "$(id -un)" = "root" ] ; then - echo "Please run this script as yourself" - exit -3 -fi -#### Change this to check for proper git-admin rights - # "global" permissions check if [ ! -w $GITROOT ] ; then echo "ERROR: You can not write to $GITROOT" diff --git a/roles/distgit/files/setup_git_package b/roles/distgit/files/setup_git_package index 05729b3c83..b22b31fa1f 100644 --- a/roles/distgit/files/setup_git_package +++ b/roles/distgit/files/setup_git_package @@ -73,12 +73,6 @@ if [ -d $GITROOT/$PACKAGE.git ] ; then exit -1 fi -# Just don't run as root, mmkey? -if [ "$(id -un)" = "root" ] ; then - echo "Please run this script as yourself" - exit -3 -fi - # "global" permissions check if [ ! -w $GITROOT ] ; then echo "ERROR: You can not write to $GITROOT"