mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-04-04 22:07:30 +00:00
ensure that the installed xorriso version supports the -drive_access parameter
This commit is contained in:
parent
bd5a7ffca8
commit
aa6dac4bb4
1 changed files with 13 additions and 0 deletions
|
|
@ -284,6 +284,19 @@ bin_check()
|
|||
echo "Please install them using the package manager of your distribution"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! xorriso -help >/dev/null 2>&1; then
|
||||
echo "Error running xorriso"
|
||||
echo "Please ensure that xorriso is installed correctly."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check that xorriso supports the -drive_access option
|
||||
if ! xorriso -help 2>&1 | grep "drive_access" >/dev/null; then
|
||||
echo "xorriso seems to not support the -drive_access option"
|
||||
echo "Please check the installed version of xorriso. Version 1.5.2 or newer is required."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue