Skip to content

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

Open
bbond007 wants to merge 1 commit intoMiSTer-devel:masterfrom
bbond007:master
Open

Version 1.1.9 - Add support for DEBs with data.tar.gz#4
bbond007 wants to merge 1 commit intoMiSTer-devel:masterfrom
bbond007:master

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