git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6669
91ce42f0-d328-0410-95d8-
f526ca767f89
else
DISTVER=`cat /etc/debian_version`
fi
+ if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_ID" != "x" ; then
+ DISTNAME=$DISTRIB_ID
+ fi
+ if test "x$DISTRIB_RELEASE" != "x" ; then
+ DISTVER=$DISTRIB_RELEASE
+ fi
+ fi
;;
freebsd)
DISTVER=`uname -a |awk '{print $3}'`
JobName=IncTape
. scripts/functions
-copy_tape_confs
+scripts/copy-tape-confs
+scripts/cleanup-tape
echo "${cwd}/tmp/build" >${cwd}/tmp/file-list
if test ! -d ${cwd}/tmp/build ; then
scripts/cleanup-tape
scripts/copy-tape-confs
+
echo "${cwd}/build" >${cwd}/tmp/file-list
change_jobname $JobName
TestName="restore-by-file-1t1d-tape"
JobName=restorebyfile
. scripts/functions
-copy_tape_confs
+scripts/copy-tape-confs
+scripts/cleanup-tape
echo "${cwd}/build" >${cwd}/tmp/file-list
sed s%\^%${cwd}% ${cwd}/scripts/flist | sort | uniq >${cwd}/tmp/restore2-list
JobName=restore-tape-seek
. scripts/functions
-copy_tape_confs
+scripts/copy-tape-confs
+scripts/cleanup-tape
+
echo "${cwd}/tmp/build" >${cwd}/tmp/file-list
rm -rf ${cwd}/tmp/build
mkdir ${cwd}/tmp/build
JobName=smallfilesize
. scripts/functions
-copy_tape_confs
+scripts/copy-tape-confs
+scripts/cleanup-tape
echo "${cwd}/build" >${cwd}/tmp/file-list
cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
JobName=truncatebug
. scripts/functions
-copy_tape_confs
+scripts/copy-tape-confs
+scripts/cleanup-tape
echo "${cwd}/build" >${cwd}/tmp/file-list
JobName=VerifyVol
. scripts/functions
-copy_tape_confs
+scripts/copy-tape-confs
+scripts/cleanup-tape
echo "${cwd}/build" >${cwd}/tmp/file-list