mirror of
https://github.com/YunoHost-Apps/jirafeau_ynh.git
synced 2024-09-03 19:35:53 +02:00
save settings
This commit is contained in:
parent
fddbc483cd
commit
47b3fd71a0
1 changed files with 6 additions and 2 deletions
|
@ -20,10 +20,14 @@ if [[ ! $? -eq 0 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
final_path=/var/www/jirafeau
|
||||
var_root=/home/yunohost.app/jirafeau
|
||||
# Save specific settings
|
||||
sudo yunohost app setting jirafeau admin_user -v $admin_user
|
||||
sudo yunohost app setting jirafeau upload_password -v $upload_password
|
||||
sudo yunohost app setting jirafeau is_public -v $is_public
|
||||
|
||||
# Copy files to the right place
|
||||
final_path=/var/www/jirafeau
|
||||
var_root=/home/yunohost.app/jirafeau
|
||||
sudo mkdir -p $final_path
|
||||
sudo cp -r ../sources/* $final_path
|
||||
sed -i "s@YNH_DOMAIN@$domain@g" ../conf/config.local.php
|
||||
|
|
Loading…
Reference in a new issue