]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl update init of bweb/config
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 22 Aug 2006 21:07:09 +0000 (21:07 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 22 Aug 2006 21:07:09 +0000 (21:07 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3343 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bacula-gui.spec.in

index 205f7cc8668b12d183d86e940eb71cffba3aa741..6706cd39ff356493bdd24b65016a8db31449cbb7 100644 (file)
@@ -225,7 +225,7 @@ chmod 644 $RPM_BUILD_ROOT/usr/share/brestore/brestore.glade
 # install the bweb files
 cp -p %{bweb}-%{version}/cgi/*.pl $RPM_BUILD_ROOT%{cgidir}/bweb/
 chmod 755 $RPM_BUILD_ROOT%{cgidir}/bweb/*
-echo "template_dir = /usr/share/bweb/tpl" > $RPM_BUILD_ROOT/etc/bweb/config
+echo '$VAR1 = { template_dir => "/usr/share/bweb/tpl"};' > $RPM_BUILD_ROOT/etc/bweb/config
 cp -p %{bweb}-%{version}/tpl/*.tpl $RPM_BUILD_ROOT/usr/share/bweb/tpl/
 chmod 644 $RPM_BUILD_ROOT/usr/share/bweb/tpl/*
 cp -p %{bweb}-%{version}/html/*.js $RPM_BUILD_ROOT%{docdir}/%{bweb}/