This repository has been archived by the owner on Oct 30, 2019. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This PR has various changes:
New functionality for existing functions.
install-suite and upgrade-suite now work as checking functions.
If they think they can continue with the install/upgrade of if
--force
is supplied.It will pass the instructions to the new run-suite function.
New function.
run-suite
will handle:Changed lowercase cmd options to uppercase
-f
and-y
are "changed" to-F
and-Y
, lowercase are kept for compability.Moved some default stuff out of script files.
Every script file had
suite-show-short-info
andsuite-show-copyright-info
at the top of every install/upgrade function, this was unnecessary and has now been moved to the "tool" (hassbian-config).The same with this line:
If you have issues with this script, please say something in the #devs_hassbian channel on Discord.
This will now only get printed if the script install/upgrade function returns with other than
0
This way we have somewhat cleaner files, and a single place to update if we need to.
Checklist:
/docs