File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3030 echo " S3 storage configuration set successfully."
3131 fi
3232
33+ # ### Fix translation files: replace {مجتمع} with {community} to prevent KeyError
34+ # This fixes the KeyError when template has Arabic placeholder but hash only has :community
35+ find " $workdir /node_modules/osm-community-index/i18n" -name " *.yaml" -type f -exec sed -i ' s/{مجتمع}/{community}/g' {} \;
36+
37+
3338 # ### Initializing an empty $workdir/config/settings.local.yml file, typically used for development settings
3439 echo " " > $workdir /config/settings.local.yml
3540
7681 chmod 400 /var/www/private.pem
7782 export DOORKEEPER_SIGNING_KEY=$( cat /var/www/private.pem | sed -e ' 1d;$d' | tr -d ' \n' )
7883 sed -i " s#PRIVATE_KEY#${DOORKEEPER_SIGNING_KEY} #" $workdir /config/settings.yml
84+
7985}
8086
8187restore_db () {
You can’t perform that action at this time.
0 commit comments