Skip to content

Commit

Permalink
:feat install: add support locale-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
equinton committed Aug 12, 2024
1 parent 075f759 commit da241cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 7 additions & 4 deletions documentation/sturwild.dbm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CAUTION: Do not modify this file unless you know what you are doing.
Unexpected results may occur if the code is changed deliberately.
-->
<dbmodel pgmodeler-ver="1.1.3" use-changelog="false" max-obj-count="44"
last-position="1635,0" last-zoom="1" scene-rect="0,0,3399.25,1817.32"
last-position="1596,0" last-zoom="1" scene-rect="0,0,3399.25,1817.32"
default-owner="postgres"
layers="Default layer"
active-layers="0"
Expand Down Expand Up @@ -1044,7 +1044,7 @@ CAUTION: Do not modify this file unless you know what you are doing.
<![CDATA["aclappli_id";"aco"
"1";"admin"
"1";"consult"
"1";"gestion"
"1";"manage"
"1";"param"
]]>
</initial-data>
Expand Down Expand Up @@ -1109,7 +1109,7 @@ CAUTION: Do not modify this file unless you know what you are doing.
<![CDATA["groupe";"aclgroup_id_parent"
"admin";""
"consult";""
"gestion";"2"
"manage";"2"
"param";"3"
]]>
</initial-data>
Expand All @@ -1120,7 +1120,7 @@ CAUTION: Do not modify this file unless you know what you are doing.
<role name="sturwild"/>
</sequence>

<table name="acllogin" layers="0" collapse-mode="2" max-obj-count="4" z-value="0">
<table name="acllogin" layers="0" collapse-mode="2" max-obj-count="6" z-value="0">
<schema name="sturwildgacl"/>
<role name="sturwild"/>
<comment> <![CDATA[Table des logins des utilisateurs autorisés]]> </comment>
Expand All @@ -1140,6 +1140,9 @@ CAUTION: Do not modify this file unless you know what you are doing.
<type name="character varying" length="0"/>
<comment> <![CDATA[TOTP secret key for the user]]> </comment>
</column>
<column name="email">
<type name="varchar" length="0"/>
</column>
<constraint name="acllogin_pk" type="pk-constr" table="sturwildgacl.acllogin">
<columns names="acllogin_id" ref-type="src-columns"/>
</constraint>
Expand Down
4 changes: 4 additions & 0 deletions install/deploy_new_instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ sed -i "s/; max_input_vars = .*/max_input_vars=$max_input_vars/" $PHPINIFILE
sed -e "s/ <policy domain=\"coder\" rights=\"none\" pattern=\"PDF\" \/>/ <policy domain=\"coder\" rights=\"read|write\" pattern=\"PDF\" \/>/" /etc/ImageMagick-6/policy.xml > /tmp/policy.xml
cp /tmp/policy.xml /etc/ImageMagick-6/

# adjust locale support
sed -i "s/#en_GB.UTF-8/en_GB.UTF-8/" /etc/locale.gen
locale-gen

# creation of virtual host
echo "creation of virtual site"
cp install/apache2/sturwild.conf /etc/apache2/sites-available/
Expand Down

0 comments on commit da241cd

Please sign in to comment.