Skip to content

Commit

Permalink
fix: prefer source over eval
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Dec 12, 2024
1 parent b019357 commit 0850b31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ $OCC upgrade 2>&1>> "$UPGRADE_LOGFILE"
error_msg "The upgrade log is written to $UPGRADE_LOGFILE within the nextcloud container"

# basic Nextcloud configuration
eval "$(cat \"$NC_UCR_FILE\")"
# shellcheck disable=SC1090
source "${NC_UCR_FILE}"
if [ "$NC_IS_UPGRADE" -eq 0 ] ; then
$OCC config:system:set updatechecker --type=boolean --value="false" # this is handled via UCS AppCenter
$OCC config:system:set upgrade.disable-web --type=boolean --value="true"
Expand Down

0 comments on commit 0850b31

Please sign in to comment.