platforms/openbsd/bacula-dir"
;;
redhat)
- DISTVER=`cat /etc/redhat-release | grep release |\
- cut -f 5 -d ' '`
+ if test `cat /etc/redhat-release | grep release |\
+ cut -f 3 -d ' '`x = "Enterprise"x ; then
+ DISTVER="Enterprise "`cat /etc/redhat-release | grep release |\
+ cut -f 6 -d ' '`
+ else
+ DISTVER=`cat /etc/redhat-release | grep release |\
+ cut -f 5 -d ' '`
+ fi
TAPEDRIVE="/dev/nst0"
PSCMD="ps -e -o pid,command"
PFILES="${PFILES} \
scripts/bconsole \
scripts/gconsole \
scripts/bacula \
+ scripts/devel_bacula \
scripts/fd \
scripts/Makefile \
scripts/logrotate \
cd scripts
chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer
-chmod 755 bconsole gconsole mtx-changer
+chmod 755 bconsole gconsole mtx-changer devel_bacula
cd ..
c=src/cats