mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix version management
This commit is contained in:
parent
f892fb10dc
commit
dcdbd5e2b5
1 changed files with 2 additions and 1 deletions
|
@ -25,11 +25,12 @@ webdav_port=$(ynh_app_setting_get --app $app --key webdav_port)
|
||||||
final_path=$(ynh_app_setting_get --app $app --key final_path)
|
final_path=$(ynh_app_setting_get --app $app --key final_path)
|
||||||
seafile_user=$app
|
seafile_user=$app
|
||||||
seafile_data=/home/yunohost.app/seafile-data
|
seafile_data=/home/yunohost.app/seafile-data
|
||||||
installed_version=${YNH_APP_CURRENT_VERSION/*~ynh/}
|
installed_version=${YNH_APP_CURRENT_VERSION/~ynh*/}
|
||||||
seafile_version=$(ynh_app_upstream_version)
|
seafile_version=$(ynh_app_upstream_version)
|
||||||
|
|
||||||
if [ "$YNH_APP_CURRENT_VERSION" == '-' ]; then
|
if [ "$YNH_APP_CURRENT_VERSION" == '-' ]; then
|
||||||
YNH_APP_CURRENT_VERSION="6.0.9~ynh0"
|
YNH_APP_CURRENT_VERSION="6.0.9~ynh0"
|
||||||
|
installed_version=${YNH_APP_CURRENT_VERSION/~ynh*/}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ynh_script_progression --message="Stoping services..."
|
ynh_script_progression --message="Stoping services..."
|
||||||
|
|
Loading…
Reference in a new issue