Skip to content

Commit

Permalink
Fix UUID missing when generating new UUID and not showing from setup …
Browse files Browse the repository at this point in the history
…configuration (#64)
  • Loading branch information
XternA authored Dec 8, 2024
1 parent 34b4cd9 commit 9b7f5b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/app-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ process_entries() {
if [ "$(echo "$config_entry" | jq -r '.properties | type')" = "array" ]; then
for entry in $properties; do
entry_name=$(echo "$entry" | sed 's/^"//' | sed 's/"$//' | tr -d "*#&") # Remove surrounding quotes and denoters
denoter=$(echo "$entry" | cut -c1)
denoter=$(echo "${entry%${entry#?}}")

[ -n "$(grep "^$entry_name=" "$ENV_FILE")" ] && is_update=true

Expand Down
2 changes: 0 additions & 2 deletions scripts/util/uuid-generator.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/sh

generate_uuid() {
local denoter="$1"

if [ "$(uname)" = "Darwin" ]; then
uuid="$(uuidgen | tr 'A-Z' 'a-z')"
else
Expand Down

0 comments on commit 9b7f5b7

Please sign in to comment.