From: Kern Sibbald Date: Wed, 12 Oct 2005 10:07:49 +0000 (+0000) Subject: - Make configure set dvd-handler to have execute permission. X-Git-Tag: Release-7.0.0~8406 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=493854b7fe7beae99c7d2cfacbefcb72f78d2f75;p=bacula%2Fbacula - Make configure set dvd-handler to have execute permission. - Install dvd-handler as is done for other dvd-xxx scripts. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2434 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 693c8e718f..7a01825bb1 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1986,7 +1986,7 @@ AC_OUTPUT([autoconf/Make.common \ cd scripts chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer -chmod 755 dvd-writepart dvd-freespace +chmod 755 dvd-writepart dvd-freespace dvd-handler chmod 755 bconsole gconsole mtx-changer devel_bacula logrotate cd .. diff --git a/bacula/configure b/bacula/configure index dba26a5d57..32f932f7a9 100755 --- a/bacula/configure +++ b/bacula/configure @@ -31157,7 +31157,7 @@ fi cd scripts chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer -chmod 755 dvd-writepart dvd-freespace +chmod 755 dvd-writepart dvd-freespace dvd-handler chmod 755 bconsole gconsole mtx-changer devel_bacula logrotate cd .. diff --git a/bacula/kes-1.37 b/bacula/kes-1.37 index 95efd7abf3..d7279c2f06 100644 --- a/bacula/kes-1.37 +++ b/bacula/kes-1.37 @@ -5,6 +5,8 @@ General: Changes to 1.37.41: 12Oct05 +- Make configure set dvd-handler to have execute permission. +- Install dvd-handler as is done for other dvd-xxx scripts. - In block.c call dvd_write_part() to write last part rather than dvd_open_next_part(). - Prefix some DVD subroutines with dvd_ diff --git a/bacula/scripts/Makefile.in b/bacula/scripts/Makefile.in index 0f6fcafa2a..19d6132a1d 100755 --- a/bacula/scripts/Makefile.in +++ b/bacula/scripts/Makefile.in @@ -53,6 +53,11 @@ install: installdirs $(MV) -f ${DESTDIR}${scriptdir}/dvd-freespace ${DESTDIR}${scriptdir}/dvd-freespace.old; \ fi $(INSTALL_SCRIPT) dvd-freespace $(DESTDIR)$(scriptdir)/dvd-freespace + @if test -f ${DESTDIR}${scriptdir}/dvd-handler; then \ + echo " ==> Saving existing dvd-handler to dvd-handler.old"; \ + $(MV) -f ${DESTDIR}${scriptdir}/dvd-handler ${DESTDIR}${scriptdir}/dvd-handler.old; \ + fi + $(INSTALL_SCRIPT) dvd-handler $(DESTDIR)$(scriptdir)/dvd-handler $(INSTALL_DATA) btraceback.gdb $(DESTDIR)$(scriptdir)/btraceback.gdb $(INSTALL_DATA) btraceback.dbx $(DESTDIR)$(scriptdir)/btraceback.dbx $(INSTALL_SCRIPT) btraceback $(DESTDIR)$(sbindir)/btraceback