1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00
diaspora_ynh/scripts/upgrade

32 lines
788 B
Text
Raw Normal View History

#!/bin/bash
2015-03-01 23:51:00 +01:00
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
# IMPORT GENERIC HELPERS
source /usr/share/yunohost/helpers
2015-03-01 23:51:00 +01:00
#=================================================
# LOAD SETTINGS
#=================================================
2015-03-05 14:44:00 +01:00
app=$YNH_APP_INSTANCE_NAME
# Retrieve arguments
domain=$(ynh_app_setting_get --app $app --key domain)
admin=$(ynh_app_setting_get --app $app --key admin)
final_path=$(ynh_app_setting_get --app $app --key final_path)
2015-05-31 12:40:22 +02:00
ynh_abort_if_errors
2015-03-01 23:51:00 +01:00
upgrade_type=$(ynh_check_app_version_changed)
# nothing to do yet!!
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
# do something!
echo "to be implemented"
fi