]> git.wh0rd.org Git - home.git/commitdiff
fall back to main feature
authorMike Frysinger <vapier@gentoo.org>
Thu, 22 Mar 2012 15:44:59 +0000 (11:44 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:45 +0000 (15:36 -0400)
.bin/backup-dvd

index 5ea4286f760cb21ca111f8c6bcbabbb4df733bf7..8c3b4b2d45845e4fe35121ac8d2fe3588c675f56 100755 (executable)
@@ -64,7 +64,14 @@ e() {
        echo
        "$@"
 }
-e dvdbackup -M -i ${dev} -o "${out}" -n "${Volume}"
+opts=(
+       -i ${dev}
+       -o "${out}"
+       -n "${Volume}"
+)
+if ! e dvdbackup -M "${opts[@]}" ; then
+       e dvdbackup -F "${opts[@]}" || exit 1
+fi
 e mkisofs -quiet -dvd-video \
        -A "${Application}" \
        -p "${Preparer}" \