mirror of
https://github.com/YunoHost-Apps/minetest_ynh.git
synced 2024-09-03 20:36:00 +02:00
commit
d2a49857e5
3 changed files with 10 additions and 17 deletions
|
@ -86,22 +86,22 @@ ram.runtime = "50M"
|
|||
autoupdate.version_regex = "^(.*)mt(.*)$"
|
||||
|
||||
[resources.sources.capturetheflag]
|
||||
url = "https://github.com/MT-CTF/capturetheflag/archive/refs/tags/v3.8.tar.gz"
|
||||
sha256 = "b6426fa3681f760599f7aba18eec8f65df2c007d5cd1411372f39343c01b49bf"
|
||||
url = "https://github.com/MT-CTF/capturetheflag/archive/refs/tags/v3.9.tar.gz"
|
||||
sha256 = "8b182d3599b7c5eaa82f1420d0ae23685d2e6c9b2a4b0fd614bc0ded638bce7f"
|
||||
autoupdate.upstream = "https://github.com/MT-CTF/capturetheflag"
|
||||
autoupdate.strategy = "latest_github_release"
|
||||
|
||||
[resources.sources.mineclonia]
|
||||
url = "https://codeberg.org/mineclonia/mineclonia/archive/0.100.0.tar.gz"
|
||||
sha256 = "6b5764fdb797788a10ffa7cb8cbdb05a8dc8dec6e4ea25d4d5403dcb425c6e48"
|
||||
url = "https://codeberg.org/mineclonia/mineclonia/archive/0.102.1.tar.gz"
|
||||
sha256 = "61719a0962c1ae21e22a94e27e06e76e998e95357c22a9f0fd4674a8fd0dbb7e"
|
||||
autoupdate.upstream = "https://codeberg.org/mineclonia/mineclonia"
|
||||
autoupdate.strategy = "latest_forgejo_release"
|
||||
|
||||
[resources.sources.mineclone2]
|
||||
url = "https://git.minetest.land/VoxeLibre/VoxeLibre/archive/0.86.2.tar.gz"
|
||||
sha256 = "5bc9a1d284d489e99a569adf238d8c28bf9493802020f53fb67d8ead71618763"
|
||||
url = "https://git.minetest.land/VoxeLibre/VoxeLibre/archive/0.87.2.tar.gz"
|
||||
sha256 = "b5dd88266660ceaf4f37e8ea3925dc276e15a7edc8bcf0b3442869a76dd2de3b"
|
||||
autoupdate.upstream = "https://git.minetest.land/VoxeLibre/VoxeLibre"
|
||||
autoupdate.strategy = "latest_forgejo_release"
|
||||
autoupdate.strategy = "latest_gitea_tag"
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
|
|
|
@ -28,17 +28,11 @@ ynh_backup --src_path="$install_dir"
|
|||
ynh_backup --src_path="$data_dir" --is_big
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC BACKUP
|
||||
#=================================================
|
||||
# BACKUP LOGROTATE
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/logrotate.d/$app"
|
||||
|
||||
#=================================================
|
||||
# BACKUP SYSTEMD
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/systemd/system/$app.service"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -10,10 +10,9 @@ source _common.sh
|
|||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# STANDARD REMOVE
|
||||
#=================================================
|
||||
# REMOVE SERVICE INTEGRATION IN YUNOHOST
|
||||
# REMOVE SYSTEM CONFIGURATIONS
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
||||
|
||||
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
||||
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
||||
|
|
Loading…
Reference in a new issue