mirror of
https://github.com/YunoHost-Apps/lingva_ynh.git
synced 2024-09-03 19:36:20 +02:00
perbaiki skrip
This commit is contained in:
parent
b597b62f2a
commit
00b1fcd3c7
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ yunohost service add $app --description="alternative to google translate" --log=
|
|||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="conf/.env.local" --destination="$install_dir/.env.local"
|
||||
ynh_add_config --template=".env.local" --destination="$install_dir/.env.local"
|
||||
|
||||
chmod 400 "$install_dir/.env.local"
|
||||
chown $app:$app "$install_dir/.env.local"
|
||||
|
|
|
@ -106,7 +106,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
|||
### The file will automatically be backed-up if it's found to be manually modified (because
|
||||
### ynh_add_config keeps track of the file's checksum)
|
||||
|
||||
ynh_add_config --template="conf/.env.local" --destination="$install_dir/.env.local"
|
||||
ynh_add_config --template=".env.local" --destination="$install_dir/.env.local"
|
||||
|
||||
chmod 400 "$install_dir/.env.local"
|
||||
chown $app:$app "$install_dir/.env.local"
|
||||
|
|
Loading…
Reference in a new issue