Skip to content

Commit

Permalink
Remove custom swap helpers ; use new upstream helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
selfhoster1312 committed Aug 28, 2024
1 parent 0572ff0 commit dd6425a
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 105 deletions.
3 changes: 2 additions & 1 deletion manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ cpe = "cpe:2.3:a:joinmastodon:mastodon"
fund = "https://joinmastodon.org/sponsors"

[integration]
yunohost = ">= 11.2.12"
yunohost = ">= TODO"
helpers_version = "2.1"
architectures = "all"
multi_instance = true

Expand Down
1 change: 0 additions & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#=================================================

source _common.sh
source ynh_add_swap
source /usr/share/yunohost/helpers

admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
Expand Down
1 change: 0 additions & 1 deletion scripts/remove
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#=================================================

source _common.sh
source ynh_add_swap
source /usr/share/yunohost/helpers

#=================================================
Expand Down
1 change: 0 additions & 1 deletion scripts/restore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh
source ../settings/scripts/ynh_add_swap
source /usr/share/yunohost/helpers

#=================================================
Expand Down
1 change: 0 additions & 1 deletion scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#=================================================

source _common.sh
source ynh_add_swap
source /usr/share/yunohost/helpers

upgrade_type=$(ynh_check_app_version_changed)
Expand Down
100 changes: 0 additions & 100 deletions scripts/ynh_add_swap

This file was deleted.

0 comments on commit dd6425a

Please sign in to comment.