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

Gui install fix - Only replace 1st instance of XX_ALLSKY_HOME_XX #710

Merged
merged 5 commits into from
Oct 21, 2021

Conversation

linuxkidd
Copy link
Collaborator

Resolves #709
Resolves #706

In functions.php from allsky-portal, the install.sh script replaced every instance of XX_ALLSKY_HOME_XX, including the one which is tested against to ensure the value has been set -away- from XX_ALLSKY_HOME_XX. This means that it will always evaluate as if the defined variable hasn't been modified, since the value will always be the same as the define.

This patch lets the modification only occur to the first instance of XX_ALLSKY_HOME_XX, and not the second -- preserving the intent of the conditional check.

@linuxkidd linuxkidd added bug needs software change confirmed labels Oct 21, 2021
@ckuethe ckuethe merged commit 9a29f14 into AllskyTeam:master Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs software change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot run the WebGUI Cannot run the WebGUI
2 participants