]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/install_bweb
bweb: update location title
[bacula/bacula] / gui / bweb / install_bweb
index c3650fff12a7d2269fc32a7065764e1fad753d8d..ec4fbdfb18c3280aa129b69f8c9e8bbc16ebeba1 100755 (executable)
@@ -107,13 +107,13 @@ chown ${HTTP_USER} ${CONF_DIR}/bweb.conf
 if [ ! -d ${SHARE_DIR}/bweb/tpl/en ] ; then
    mkdir -p ${SHARE_DIR}/bweb/tpl/{en,fr,es}
 fi
-install -m 644 -o root -g root  lang/tpl/en/*.tpl ${SHARE_DIR}/bweb/tpl/en
-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
+install -m 644 -o root -g root  lang/en/tpl/*.tpl ${SHARE_DIR}/bweb/tpl/en
+install -m 644 -o root -g root  lang/es/tpl/*.tpl ${SHARE_DIR}/bweb/tpl/es
+install -m 644 -o root -g root  lang/fr/tpl/*.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