1
0
Fork 0
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:
polytan02 2016-12-22 12:05:24 +00:00
parent 2931e82588
commit 6bcc47a24d
2 changed files with 9 additions and 2 deletions

View file

@ -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"

View file

@ -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