From 9367503886e8866c3443c3c845c62c56e959b015 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 20 May 2013 18:30:28 +0200 Subject: [PATCH] webbuild: remove unused code around AS_HOST variable --- webbuild/webbuild-cgi | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi index 123ac5a..60944bd 100755 --- a/webbuild/webbuild-cgi +++ b/webbuild/webbuild-cgi @@ -20,18 +20,8 @@ if [ "$REQUEST" != "refresh" ]; then echo "`date` - USER=$USER&REQUEST=$REQUEST&ENVIRONMENT=$ENVIRONMENT&REPOSITORY=$REPOSITORY&PACKAGE=$PACKAGE&MAINTAINERMODE=$MAINTAINERMODE" >> $LOG 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-Length: 10485\n" - echo -n "" -else - echo -e "Content-type: text/html; charset=UTF-8\n" -fi +echo -e "Content-type: text/xml\nPragma: no-cache\n" +echo -n "" # SECURITY USER_ENABLED=