1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Merge pull request #218 from YunoHost-Apps/testing

Fix #216
This commit is contained in:
yalh76 2021-04-09 12:49:49 +02:00 committed by GitHub
commit 211c3abf31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 4 deletions

View file

@ -6,7 +6,7 @@
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network",
"fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé"
},
"version": "3.1.0~ynh1",
"version": "3.1.0~ynh2",
"url": "https://github.com/Chocobozzz/PeerTube",
"license": "AGPL-3.0-only",
"maintainer": [

View file

@ -149,7 +149,7 @@ ynh_script_progression --message="Creating the data directory..."
mkdir -p "$datadir"
# Give permission to the datadir
chown -R "$app":"$app" "$datadir"
chown -R $app:$app $datadir
#=================================================
# MODIFY A CONFIG FILE
@ -224,6 +224,9 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chown -R $app:$app $final_path
# Give permission to the datadir
chown -R $app:$app $datadir
#=================================================
# SETUP LOGROTATE
#=================================================

View file

@ -92,7 +92,7 @@ ynh_restore_file --origin_path="$datadir" --not_mandatory
mkdir -p "$datadir"
# Give permission to the datadir
chown -R "$app":"$app" "$datadir"
chown -R $app:$app $datadir
#=================================================
# REINSTALL DEPENDENCIES

View file

@ -224,7 +224,7 @@ then
fi
# Give permission to the datadir
chown -R "$app":"$app" "$datadir"
chown -R $app:$app $datadir
#=================================================
# MODIFY A CONFIG FILE
@ -276,6 +276,9 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files
chown -R $app:$app $final_path
# Give permission to the datadir
chown -R $app:$app $datadir
#=================================================
# SETUP LOGROTATE
#=================================================