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

unzip: command not found (create doUnzip function) #734

Closed
Bene90 opened this issue May 2, 2022 · 1 comment · Fixed by #737
Closed

unzip: command not found (create doUnzip function) #734

Bene90 opened this issue May 2, 2022 · 1 comment · Fixed by #737
Labels
bug Something isn't working

Comments

@Bene90
Copy link

Bene90 commented May 2, 2022

unzip: command not found

On some systems the unzip command is not preinstalled (including linux distros like Ubuntu)

@Bene90 Bene90 added the Team_IDE label May 2, 2022
@hohwille hohwille added the bug Something isn't working label May 2, 2022
@hohwille hohwille changed the title BUG: Create doUnzip function unzip: command not found (create doUnzip function) May 2, 2022
@hohwille
Copy link
Member

hohwille commented May 2, 2022

As a solution we plan to add doUnzip to functions.
In addition to calling unzip command with given params, it should first check if unzip command is present.
If not, the command should be installed according to current OS (or if not possible the user should be informed to install it manually giving an URL with instructions).

CREITZ25 added a commit that referenced this issue May 2, 2022
#734 create doUnzip function

The following command in functions has to be changed to activate the doUnzip:
#doRunCommand "unzip -qn '${1}' -d '${target_dir}'"
doUnzip ${1} ${target_dir}
CREITZ25 added a commit that referenced this issue May 2, 2022
Missing new line
CREITZ25 added a commit that referenced this issue May 2, 2022
New line wrong agaig
CREITZ25 added a commit that referenced this issue May 2, 2022
Add {} at variables
CREITZ25 added a commit that referenced this issue May 2, 2022
#734 create doUnzip function
hopefully last correction
@hohwille hohwille linked a pull request May 3, 2022 that will close this issue
hohwille pushed a commit that referenced this issue May 3, 2022
@hohwille hohwille added this to the release:2022.04.001 milestone May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants