Feel free to run this as root, mmkey?

This commit is contained in:
Patrick Uiterwijk 2015-02-23 21:51:43 +00:00
parent 4b55f9a4ff
commit afa5f86ab9
2 changed files with 0 additions and 14 deletions

View file

@ -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"

View file

@ -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"