* Support showing the contents of ISO images (using isoinfo in
cdrkit).
This commit is contained in:
@ -207,6 +207,11 @@ sub contents : Chained('build') PathPart Args(1) {
|
||||
error($c, "`unzip' error: $?") if $? != 0;
|
||||
}
|
||||
|
||||
elsif ($path =~ /\.iso$/ ) {
|
||||
$res = `isoinfo -d -i "$path" && isoinfo -l -R -i "$path"`;
|
||||
error($c, "`isoinfo' error: $?") if $? != 0;
|
||||
}
|
||||
|
||||
else {
|
||||
error($c, "Unsupported file type.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user