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

Updated run.sh. #17

Merged
merged 1 commit into from
Aug 25, 2021
Merged

Updated run.sh. #17

merged 1 commit into from
Aug 25, 2021

Conversation

arindas
Copy link
Owner

@arindas arindas commented Aug 25, 2021

Separated dmg download step from dmg2img conversion step.

Separated dmg download step from dmg2img conversion step.
@arindas arindas linked an issue Aug 25, 2021 that may be closed by this pull request
@arindas arindas merged commit dc52463 into main Aug 25, 2021
@olfranco
Copy link

Seems good to me, even if I was surprised and didn't understood at first the way you check the availability of the dmg2img command with the which (I'm not used to the to set -e flag, but I'm not a shellscripting expert...). Totally good.

The way I usually do this is I build an array of dependencies then loop over the items to check to availibility of each command, and echo a message informing the user about a missing dependency.

@arindas arindas deleted the feature/check-dmg-downloaded branch February 11, 2022 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check if dmg is downloaded instead of img
2 participants