Commit e883f67a authored by Booloki's avatar Booloki

Fix genisoimage deprecated option

parent d3391880
......@@ -69,15 +69,15 @@ cropdetect () {
# DVD_MOUNT_PATH
copy_dvd2iso () {
check_genisoimage
debug "genisoimage -allow-limited-size -dvd-video -o \"${ISO_FILE}\" \"${DVD_MOUNT_PATH}\""
debug "genisoimage -dvd-video -o \"${ISO_FILE}\" \"${DVD_MOUNT_PATH}\""
if [[ "${WAZZUF_UI}" == "GUI" ]]; then
( genisoimage -allow-limited-size -dvd-video -o "${ISO_FILE}" "${DVD_MOUNT_PATH}" 2>&1 \
( genisoimage -dvd-video -o "${ISO_FILE}" "${DVD_MOUNT_PATH}" 2>&1 \
| sed -u 's/.* \(.*[0-9]\)\.\([0-9]\+%\)\(.*\)/\1\n# iso file creation in progress\t\t\1.\2/' )\
| zenity --progress \
--title="${ZEN_TITLE}" \
--auto-close
else
genisoimage -allow-limited-size -dvd-video -o "${ISO_FILE}" "${DVD_MOUNT_PATH}"
genisoimage -dvd-video -o "${ISO_FILE}" "${DVD_MOUNT_PATH}"
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment