mirror of
https://github.com/YunoHost-Apps/phpbb_ynh.git
synced 2024-09-03 19:56:36 +02:00
fix
This commit is contained in:
parent
40b4b0a117
commit
c27be1b80c
2 changed files with 12 additions and 0 deletions
0
conf/fr.src
Normal file
0
conf/fr.src
Normal file
|
@ -90,6 +90,18 @@ chmod 750 "$final_path"
|
|||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK LANGUAGE PACK
|
||||
#=================================================
|
||||
|
||||
tmpdir="$(mktemp -d)"
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$tmpdir" --source_id=fr
|
||||
cp -a "$tmpdir/language/fr" "$final_path/language/fr"
|
||||
cp -a "$tmpdir/styles/prosilver/theme/fr" "$final_path/styles/prosilver/theme/fr"
|
||||
# Remove the tmp directory securely
|
||||
ynh_secure_remove --file="$tmpdir"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue