Feel free to run this as root, mmkey?
This commit is contained in:
parent
4b55f9a4ff
commit
afa5f86ab9
2 changed files with 0 additions and 14 deletions
|
@ -118,14 +118,6 @@ if [ -n "$TEST" ] ; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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
|
# "global" permissions check
|
||||||
if [ ! -w $GITROOT ] ; then
|
if [ ! -w $GITROOT ] ; then
|
||||||
echo "ERROR: You can not write to $GITROOT"
|
echo "ERROR: You can not write to $GITROOT"
|
||||||
|
|
|
@ -73,12 +73,6 @@ if [ -d $GITROOT/$PACKAGE.git ] ; then
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
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
|
# "global" permissions check
|
||||||
if [ ! -w $GITROOT ] ; then
|
if [ ! -w $GITROOT ] ; then
|
||||||
echo "ERROR: You can not write to $GITROOT"
|
echo "ERROR: You can not write to $GITROOT"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue