1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00
This commit is contained in:
yalh76 2020-10-18 19:42:12 +02:00
parent 1788092dd3
commit 4f6c96de08
3 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ admin_email=$(ynh_user_get_info --username=$admin --key="mail")
## Bypass package_checker name not compatible with pleroma ## Bypass package_checker name not compatible with pleroma
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
admin="test" admin="test"
fi fi
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME

View file

@ -43,7 +43,7 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir)
ynh_script_progression --message="Validating restoration parameters..." ynh_script_progression --message="Validating restoration parameters..."
if [ "$(lsb_release --codename --short)" != "buster" ]; then if [ "$(lsb_release --codename --short)" != "buster" ]; then
ynh_die --message="Sorry, but this app can only be installed on Buster :(" ynh_die --message="Sorry, but this app can only be restored on Buster :("
fi fi
ynh_webpath_available --domain=$domain --path_url=$path_url \ ynh_webpath_available --domain=$domain --path_url=$path_url \

View file

@ -47,7 +47,7 @@ upgrade_type=$(ynh_check_app_version_changed)
ynh_script_progression --message="Ensuring downward compatibility..." ynh_script_progression --message="Ensuring downward compatibility..."
if [ "$(lsb_release --codename --short)" != "buster" ]; then if [ "$(lsb_release --codename --short)" != "buster" ]; then
ynh_die --message="Sorry, but this app can only be installed on Buster :(" ynh_die --message="Sorry, but this app can only be upgraded on Buster :("
fi fi
# Fix is_public as a boolean value # Fix is_public as a boolean value