mirror of
https://github.com/YunoHost-Apps/owncloud_ynh.git
synced 2024-09-03 19:56:25 +02:00
Update upgrade
This commit is contained in:
parent
b9ec4c5055
commit
2e2ac82531
1 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir" #--keep="ocis.env ocis.yaml"
|
ynh_setup_source --dest_dir="$install_dir" --keep="ocis.env ocis.yaml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
@ -58,12 +58,12 @@ yunohost service add $app --description="File sharing platform" --log="/var/log/
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
#ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template=".env" --destination="$install_dir/ocis.env"
|
#ynh_add_config --template=".env" --destination="$install_dir/ocis.env"
|
||||||
|
|
||||||
chmod 400 "$install_dir/ocis.env"
|
#chmod 400 "$install_dir/ocis.env"
|
||||||
chown $app:$app "$install_dir/ocis.env"
|
#chown $app:$app "$install_dir/ocis.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Add table
Reference in a new issue