mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
Fix
This commit is contained in:
parent
8c731c1800
commit
97ca520557
5 changed files with 4 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "Online editor providing collaborative editing in real-time.",
|
"en": "Online editor providing collaborative editing in real-time.",
|
||||||
"fr": "Éditeur en ligne fournissant l'édition collaborative en temps réel."
|
"fr": "Éditeur en ligne fournissant l'édition collaborative en temps réel."
|
||||||
},
|
},
|
||||||
"version": "1.8.13~ynh1",
|
"version": "1.8.14~ynh1",
|
||||||
"url": "https://etherpad.org/",
|
"url": "https://etherpad.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="postgresql postgresql-contrib apt-transport-https"
|
pkg_dependencies="postgresql postgresql-contrib"
|
||||||
|
|
||||||
nodejs_version=14
|
nodejs_version=14
|
||||||
|
|
||||||
|
|
|
@ -135,7 +135,6 @@ ynh_script_progression --message="Configuring Etherpad..." --weight=6
|
||||||
|
|
||||||
ynh_add_config --template="../conf/settings.json" --destination="$final_path/settings.json"
|
ynh_add_config --template="../conf/settings.json" --destination="$final_path/settings.json"
|
||||||
ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json"
|
ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json"
|
||||||
|
|
||||||
chmod 400 $final_path/credentials.json
|
chmod 400 $final_path/credentials.json
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -69,7 +69,7 @@ ynh_restore_file --origin_path="$final_path"
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
chmod 600 $final_path/credentials.json
|
chmod 400 "$final_path/credentials.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REINSTALL DEPENDENCIES
|
# REINSTALL DEPENDENCIES
|
||||||
|
|
|
@ -128,7 +128,7 @@ fi
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
chmod 600 $final_path/credentials.json
|
chmod 400 $final_path/credentials.json
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
|
Loading…
Add table
Reference in a new issue