Fix install script to specifically require xorriso
The dependency check was accepting any ISO tool (mkisofs, genisoimage, or xorriso), but the install commands now specifically install xorriso. Updated checks to require xorriso specifically since: - It handles both ISO9660 and UDF formats - Required for RIP module to extract UDF DVD ISOs - Now installed by all package managers in the script This ensures the install script will detect and install xorriso even if older tools like genisoimage are already present.
This commit is contained in:
parent
290d042ea2
commit
7cd7071480
|
|
@ -168,8 +168,8 @@ else
|
|||
if ! command -v dvdauthor &> /dev/null; then
|
||||
missing_deps+=("dvdauthor")
|
||||
fi
|
||||
if ! command -v mkisofs &> /dev/null && ! command -v genisoimage &> /dev/null && ! command -v xorriso &> /dev/null; then
|
||||
missing_deps+=("iso-tool")
|
||||
if ! command -v xorriso &> /dev/null; then
|
||||
missing_deps+=("xorriso")
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
@ -234,9 +234,9 @@ else
|
|||
echo "Please install: dvdauthor"
|
||||
exit 1
|
||||
fi
|
||||
if ! command -v mkisofs &> /dev/null && ! command -v genisoimage &> /dev/null && ! command -v xorriso &> /dev/null; then
|
||||
echo -e "${RED}✗ Missing ISO creation tool after install attempt.${NC}"
|
||||
echo "Please install: mkisofs (cdrtools), genisoimage, or xorriso"
|
||||
if ! command -v xorriso &> /dev/null; then
|
||||
echo -e "${RED}✗ Missing xorriso after install attempt.${NC}"
|
||||
echo "Please install: xorriso (required for DVD ISO extraction)"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user