Browse Source

- there was still one useful thing in the configure patch (localhost as default host) - cut&paste error in comment in bexec.sh

Thomas Lotterer 21 years ago
parent
commit
aa7ad600b3
2 changed files with 6 additions and 1 deletions
  1. 5 0
      bacula/bacula.spec
  2. 1 1
      bacula/bexec.sh

+ 5 - 0
bacula/bacula.spec

@@ -144,6 +144,11 @@ AutoReqProv:  no
             configure
     done
 
+    #   use localhost as default host
+    %{l_shtool} subst \
+        -e 's/s,@hostname@,$hostname,/s,@hostname@,localhost,/' \
+        configure
+
     #   configure
     case "%{with_db}" in
         sqlite ) cfg_db="--with-sqlite=%{l_prefix}"     ;;

+ 1 - 1
bacula/bexec.sh

@@ -18,5 +18,5 @@ case "$myName" in
 esac
 cfg="$cfgPath/$cfg"
 #   The user is still able to specify own config files, because
-#   bconsole accepts multiple '-c' options. The last '-c' wins.
+#   the commands accept multiple '-c' options. The last '-c' wins.
 exec @l_prefix@/libexec/bacula/$myName -c $cfg "$@"