update makecd handler to work with new toolset
authorMicah Anderson <micah@riseup.net>
Fri, 25 Jul 2008 20:11:24 +0000 (20:11 +0000)
committerMicah Anderson <micah@riseup.net>
Fri, 25 Jul 2008 20:11:24 +0000 (20:11 +0000)
ChangeLog
handlers/makecd.in

index c30a282e3afbb463a893bc6592988d9a1b14a82d..195bbab287e059688567f2b7e756b232693bb735 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,6 +58,8 @@ version 0.9.6 -- July 21, 2008
        trac:
         . stop failing on all the trac backups if just one fails, this means
           removing the temporary trac backup directories if they fail
+       makecd
+        . updated handler for new toolset (genisoimage and wodim)
 
 version 0.9.5 -- December 2, 2007
     backupninja changes
index cdfa6b1a631535d13666cb30624440241eca9a6e..1a95d6d5accd22a8113bdc14477cc35e1c7233dc 100644 (file)
@@ -13,10 +13,9 @@ getconf device
 getconf nicelevel 0
 
 # define needed executables:
-MKISOFS="/usr/bin/mkisofs"
+MKISOFS="/usr/bin/genisoimage"
 GROWISOFS="/usr/bin/growisofs"
-#CDRECORD="/usr/bin/cdrecord"
-CDRECORD="/usr/bin/cdrecord.mmap"
+CDRECORD="/usr/bin/wodim"
 CDRDAO="/usr/bin/cdrdao"
 DVDINFO="/usr/bin/dvd+rw-mediainfo"
 
@@ -26,10 +25,10 @@ DVDINFO="/usr/bin/dvd+rw-mediainfo"
 [ -d $backupdir ] || fatal "Backup directory '$backupdir'"
 [ -e "$target" ]  || fatal "target does not exist "
 
-[ -x "$MKISOFS" ]   || debug 3 "echo executable mkisofs not present"
-[ -x "$GROWISOFS" ] || debug 3 "echo executable growisofs not present"
-[ -x "$CDRECORD" ]  || debug 3 "echo executable cdrecord not present"
-[ -x "$CDRDAO" ]    || debug 3 "echo executable cdrdao not present"
+[ -x "$MKISOFS" ]   || debug 3 "echo executable $MKISOFS not present"
+[ -x "$GROWISOFS" ] || debug 3 "echo executable $GROWISOFS not present"
+[ -x "$CDRECORD" ]  || debug 3 "echo executable $CDRECORD not present"
+[ -x "$CDRDAO" ]    || debug 3 "echo executable $CDRDAO not present"
 
 if [ "$isoonly" == "no" ]; then
        [ -e $device ] || fatal "No Burner device available"
@@ -86,3 +85,4 @@ if [ "$isoonly" == "no" ]; then
        fi
 fi
 return 0
+