From: Kern Sibbald Date: Wed, 17 Jan 2007 14:58:36 +0000 (+0000) Subject: Update install_bweb X-Git-Tag: Release-2.0.2~73 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af1e8a93cec803d3d8319ce1173c180155ec2142;p=bacula%2Fbacula Update install_bweb git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4009 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/install_bweb b/gui/bweb/install_bweb index bc2ccd1fd2..63b5892118 100755 --- a/gui/bweb/install_bweb +++ b/gui/bweb/install_bweb @@ -3,6 +3,10 @@ # Change the following four environment variables to suit your system # Note, the configuration below works on a stock SuSE 10.2 system # +# You can, in general, execute this file multiple times. However, if +# you edit certain of the installed files, your changes might be lost. +# This script will not overwrite any installed /etc/bacula/bweb.conf +# # Root directory of web files # WEB_DIR=/srv/www/htdocs @@ -51,6 +55,7 @@ if [ ! -d /etc/bacula ] ; then fi # Setup a default /etc/bacula/bweb.conf +if [ ! -e /etc/bacula/bweb.conf ] ; then cat > /etc/bacula/bweb.conf < '/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf', @@ -89,6 +94,7 @@ cat > /etc/bacula/bweb.conf < '${EMAIL_ADDR}' }, 'Bweb::Config' ); END_OF_DATA +fi chown ${HTTP_USER} /etc/bacula/bweb.conf