mirror of
https://github.com/YunoHost-Apps/filebrowser_ynh.git
synced 2024-09-03 18:36:05 +02:00
cleaning
This commit is contained in:
parent
8bed41f1dd
commit
d52af4f084
6 changed files with 9 additions and 12 deletions
1
doc/ADMIN_fr.md
Normal file
1
doc/ADMIN_fr.md
Normal file
|
@ -0,0 +1 @@
|
|||
Par défaut, le chemin racine est défini sur `__DATA_DIR__`. Vous pouvez choisir un chemin racine différent dans le fichier de configuration du navigateur de fichiers : `__INSTALL_DIR__/settings.json` et modifier l'entrée **root** comme vous le souhaitez. (Vous devrez peut-être définir les autorisations correctes pour le nouveau chemin).
|
8
doc/POST_INSTALL_fr.md
Normal file
8
doc/POST_INSTALL_fr.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
#### Identifiants par défaut
|
||||
|
||||
```
|
||||
nom d'utilisateur : admin
|
||||
mot de passe : admin
|
||||
```
|
||||
|
||||
Vous devez modifier le mot de passe et, si vous le pouvez, le nom d'utilisateur pour la meilleure sécurité possible.
|
|
@ -25,9 +25,6 @@ ynh_script_progression "Adding $app's configuration..."
|
|||
path="$new_path"
|
||||
ynh_config_add --template="settings.json" --destination="$install_dir/settings.json"
|
||||
|
||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 600 "$install_dir/settings.json"
|
||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app:$app "$install_dir/settings.json"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
|
|
@ -13,8 +13,6 @@ ynh_setup_source --dest_dir="$install_dir"
|
|||
|
||||
touch $install_dir/database.db
|
||||
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir"
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir"
|
||||
chmod -R +x "$install_dir/filebrowser"
|
||||
|
||||
#=================================================
|
||||
|
@ -37,9 +35,6 @@ ynh_script_progression "Adding $app's configuration..."
|
|||
|
||||
ynh_config_add --template="settings.json" --destination="$install_dir/settings.json"
|
||||
|
||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 600 "$install_dir/settings.json"
|
||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app:$app "$install_dir/settings.json"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
|
|
@ -10,8 +10,6 @@ ynh_script_progression "Restoring the app main directory..."
|
|||
|
||||
ynh_restore "$install_dir"
|
||||
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir"
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir"
|
||||
chmod -R +x "$install_dir/filebrowser"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -18,8 +18,6 @@ ynh_script_progression "Upgrading source files..."
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep="settings.json"
|
||||
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir"
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir"
|
||||
chmod -R +x "$install_dir/filebrowser"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue