webbuild: remove unused code around AS_HOST variable
This commit is contained in:
parent
466141bd3e
commit
9367503886
@ -20,18 +20,8 @@ if [ "$REQUEST" != "refresh" ]; then
|
|||||||
echo "`date` - USER=$USER&REQUEST=$REQUEST&ENVIRONMENT=$ENVIRONMENT&REPOSITORY=$REPOSITORY&PACKAGE=$PACKAGE&MAINTAINERMODE=$MAINTAINERMODE" >> $LOG
|
echo "`date` - USER=$USER&REQUEST=$REQUEST&ENVIRONMENT=$ENVIRONMENT&REPOSITORY=$REPOSITORY&PACKAGE=$PACKAGE&MAINTAINERMODE=$MAINTAINERMODE" >> $LOG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ "$HOST" ] || HOST=0
|
|
||||||
[ "$AS_HOST" ] || AS_HOST=0
|
|
||||||
|
|
||||||
[ "$AS_HOST" -a "$HOST" != "0" ] && HOST_ADD="&HOST=$HOST"
|
|
||||||
|
|
||||||
if [ "$AS_HOST" = "0" ]; then
|
|
||||||
echo -e "Content-type: text/xml\nPragma: no-cache\n"
|
echo -e "Content-type: text/xml\nPragma: no-cache\n"
|
||||||
# echo -e "Content-Length: 10485\n"
|
|
||||||
echo -n "<webbuild>"
|
echo -n "<webbuild>"
|
||||||
else
|
|
||||||
echo -e "Content-type: text/html; charset=UTF-8\n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# SECURITY
|
# SECURITY
|
||||||
USER_ENABLED=
|
USER_ENABLED=
|
||||||
|
Loading…
Reference in New Issue
Block a user