From: Eric Bollengier Date: Mon, 25 Aug 2008 07:41:08 +0000 (+0000) Subject: ebl fix #1132 about a bug in install_bweb script X-Git-Tag: Release-3.0.0~1064 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4de43c0f619b90cc68d1f7b394c6fc2d8a5e5ba4;p=bacula%2Fbacula ebl fix #1132 about a bug in install_bweb script tweak some html git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7506 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/cgi/bresto.pl b/gui/bweb/cgi/bresto.pl index 845c497a01..836696d534 100755 --- a/gui/bweb/cgi/bresto.pl +++ b/gui/bweb/cgi/bresto.pl @@ -795,7 +795,7 @@ if ($action eq 'list_client') { # list all client [ ['c1'],['c2']..] print "]\n"; exit 0; -} elsif ($action eq 'list_storage') { # TODO: use .storage hier +} elsif ($action eq 'list_storage') { # TODO: use .storage here print CGI::header('application/x-javascript'); my $q="SELECT Name FROM Storage"; diff --git a/gui/bweb/install_bweb b/gui/bweb/install_bweb index c3650fff12..6ad125bb39 100755 --- a/gui/bweb/install_bweb +++ b/gui/bweb/install_bweb @@ -112,8 +112,8 @@ install -m 644 -o root -g root lang/tpl/es/*.tpl ${SHARE_DIR}/bweb/tpl/es install -m 644 -o root -g root lang/tpl/fr/*.tpl ${SHARE_DIR}/bweb/tpl/fr # copy the bweb graphics elements (bweb elements must reside in /bweb) -if [ ! -d ${WEB_DIR} ] ; then - mkdir ${WEB_DIR}/bweb +if [ ! -d ${WEB_DIR}/bweb ] ; then + mkdir -p ${WEB_DIR}/bweb fi install -m 644 -o root -g root html/*.{js,png,css,gif,ico,html} ${WEB_DIR}/bweb diff --git a/gui/bweb/technotes-2.3 b/gui/bweb/technotes-2.3 index cc8a185823..973d33aa66 100644 --- a/gui/bweb/technotes-2.3 +++ b/gui/bweb/technotes-2.3 @@ -1,3 +1,6 @@ +25Aug08 +ebl Fix #1132 about typo in directory creation in install_bweb + 02Jul08 ebl Add documentation link on missing job view diff --git a/gui/bweb/tpl/begin.tpl b/gui/bweb/tpl/begin.tpl index 25d6981f09..241fba5df2 100644 --- a/gui/bweb/tpl/begin.tpl +++ b/gui/bweb/tpl/begin.tpl @@ -2,7 +2,7 @@ __Bweb - Bacula Web Interface__ - + @@ -78,7 +78,7 @@ if ('__Main__' == ('_' + '_Main_' + '_')) {
  • __About__
  •  __Logged as__
  • -
  • +