Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.1.9 - Add support for DEBs with data.tar.gz #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bbond007
Copy link

@bbond007 bbond007 commented Jun 1, 2019

Add support for DEBs with data.tar.gz to function installDEBS.

Add support for DEBs with data.tar.gz to function installDEBS.
rm "${TEMP_PATH}/data.tar.xz" > /dev/null 2>&1
if [ -f "${TEMP_PATH}/data.tar.xz" ]
then
tar -xJf "${TEMP_PATH}/data.tar.xz" --wildcards --no-anchored --strip-components="${STRIP_COMPONENTS}" -C "${DEST_DIR}" "${ARCHIVE_FILES}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I am not sure you need to treat gz and xz differently there. tar can recognize the different compression and decide what decompression algorithm to use, sotar xf data.tar.* should work for both cases.

I would have to check if this is true for the tar version installed on the MiSTer though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants