forked from len0rd/rockbox
rockboxdev: better error message for unknown compression
I hit this error and its message confused me because I interpreted it as "bzip2 executable could not be found". The message was also outdated because xz is supported meanwhile. Update the message to something hopefully more helpful. Change-Id: Ide2f8809dc0f8159d7d04fa22c29607dd6b35792
This commit is contained in:
parent
e23d45536e
commit
a67c6934c1
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ extract() {
|
||||||
elif [ -f "$dlwhere/$1.tar.xz" ]; then
|
elif [ -f "$dlwhere/$1.tar.xz" ]; then
|
||||||
tar xJf "$dlwhere/$1.tar.xz"
|
tar xJf "$dlwhere/$1.tar.xz"
|
||||||
else
|
else
|
||||||
echo "ROCKBOXDEV: I don't know how to extract $1 (no bzip2 or gzip)"
|
echo "ROCKBOXDEV: unknown compression for $1"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue