mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
cleaning
This commit is contained in:
parent
876cbed4fa
commit
c071139a87
2 changed files with 4 additions and 4 deletions
|
@ -89,10 +89,10 @@ ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbhost=127.0
|
|||
ynh_script_progression --message="Configuring Piwigo..."
|
||||
|
||||
# Change local config
|
||||
ynh_add_config --template="../conf/config.inc.php" --destination="$install_dir/local/config/config.inc.php"
|
||||
ynh_add_config --template="config.inc.php" --destination="$install_dir/local/config/config.inc.php"
|
||||
|
||||
# Setup database in local/config/database.inc.php
|
||||
ynh_add_config --template="../conf/database.inc.php" --destination="$install_dir/local/config/database.inc.php"
|
||||
ynh_add_config --template="database.inc.php" --destination="$install_dir/local/config/database.inc.php"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
|
@ -102,10 +102,10 @@ fi
|
|||
ynh_script_progression --message="Configuring Piwigo..."
|
||||
|
||||
# Change local config
|
||||
ynh_add_config --template="../conf/config.inc.php" --destination="$install_dir/local/config/config.inc.php"
|
||||
ynh_add_config --template="config.inc.php" --destination="$install_dir/local/config/config.inc.php"
|
||||
|
||||
# Setup database in local/config/database.inc.php
|
||||
ynh_add_config --template="../conf/database.inc.php" --destination="$install_dir/local/config/database.inc.php"
|
||||
ynh_add_config --template="database.inc.php" --destination="$install_dir/local/config/database.inc.php"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue