mirror of
https://github.com/YunoHost-Apps/cops_ynh.git
synced 2024-09-03 18:25:57 +02:00
Update on manifest.json
This commit is contained in:
parent
2931e82588
commit
6bcc47a24d
2 changed files with 9 additions and 2 deletions
|
@ -83,7 +83,7 @@
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose the username to access the OPDS/HTML server (unrelated to YunoHost users)",
|
"en": "Choose the username to access the OPDS/HTML server (unrelated to YunoHost users)",
|
||||||
"fr": "Indiquez le nom d'utilisateur pour accéder au serveur OPDS/HTML (non lié utilisateurs YunoHost)",
|
"fr": "Indiquez le nom d'utilisateur pour accéder au serveur OPDS/HTML (non lié utilisateurs YunoHost)"
|
||||||
},
|
},
|
||||||
"example": "Gutenberg",
|
"example": "Gutenberg",
|
||||||
"default": "Gutenberg"
|
"default": "Gutenberg"
|
||||||
|
|
|
@ -87,7 +87,14 @@ sudo cp -a ../sources/* $final_path/
|
||||||
|
|
||||||
# Set permissions
|
# Set permissions
|
||||||
sudo chmod 775 -R $final_path
|
sudo chmod 775 -R $final_path
|
||||||
sudo chmod 600 $final_path/htpasswd
|
|
||||||
|
if [ "$basicauthcreate" = "Yes" ];
|
||||||
|
then
|
||||||
|
sudo chmod 600 $final_path/htpasswd
|
||||||
|
else
|
||||||
|
echo "Nothing to do"
|
||||||
|
fi
|
||||||
|
|
||||||
sudo chown -hR $runninguser:$runninguser $final_path
|
sudo chown -hR $runninguser:$runninguser $final_path
|
||||||
|
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
|
|
Loading…
Reference in a new issue