Группа :: Архивирование/Резервное копирование
Пакет: bacula
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: bacula-1.38.2-alt-scripts.patch
diff -uNr bacula-1.38.2.orig/scripts/bconsole.in bacula-1.38.2/scripts/bconsole.in
--- bacula-1.38.2.orig/scripts/bconsole.in 2005-08-11 23:49:50 +1300
+++ bacula-1.38.2/scripts/bconsole.in 2005-12-12 18:18:59 +1200
@@ -1,20 +1,5 @@
#!/bin/sh
-which dirname >/dev/null
-# does dirname exit?
-if [ $? = 0 ] ; then
- cwd=`dirname $0`
- if [ x$cwd = x. ]; then
- cwd=`pwd`
- fi
- if [ x$cwd = x@sbindir@ ] ; then
- echo "bconsole not properly installed."
- exit 1
- fi
-fi
-if [ x@sbindir@ = x@sysconfdir@ ]; then
- echo "bconsole not properly installed."
- exit 1
-fi
+
if [ $# = 1 ] ; then
echo "doing bconsole $1.conf"
@sbindir@/bconsole -c $1.conf