minetest: Allow alternate name for 3d armor mod

In Bookworm, the minetest-mod-player-3d-armor package is renamed to
minetest-mod-3d-armor. Allow either package name to fulfill the
requirement, so that the app is installable in both Bullseye and
Bookworm.

Fixes #2164.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2022-03-05 11:29:33 -05:00
parent 691817477f
commit 93156fe8e7
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -13,20 +13,21 @@ from plinth.daemon import Daemon
from plinth.modules.backups.components import BackupRestore from plinth.modules.backups.components import BackupRestore
from plinth.modules.firewall.components import Firewall from plinth.modules.firewall.components import Firewall
from plinth.modules.users.components import UsersAndGroups from plinth.modules.users.components import UsersAndGroups
from plinth.package import Packages from plinth.package import Package, Packages
from plinth.utils import format_lazy from plinth.utils import format_lazy
from . import manifest from . import manifest
_mods = [ _mods = [
Package('minetest-mod-3d-armor') | Package('minetest-mod-player-3d-armor'),
'minetest-mod-character-creator', 'minetest-mod-craftguide', 'minetest-mod-character-creator', 'minetest-mod-craftguide',
'minetest-mod-infinite-chest', 'minetest-mod-lucky-block', 'minetest-mod-infinite-chest', 'minetest-mod-lucky-block',
'minetest-mod-maidroid', 'minetest-mod-mesecons', 'minetest-mod-maidroid', 'minetest-mod-mesecons',
'minetest-mod-moreblocks', 'minetest-mod-moreores', 'minetest-mod-nether', 'minetest-mod-moreblocks', 'minetest-mod-moreores', 'minetest-mod-nether',
'minetest-mod-pipeworks', 'minetest-mod-player-3d-armor', 'minetest-mod-pipeworks', 'minetest-mod-protector', 'minetest-mod-quartz',
'minetest-mod-protector', 'minetest-mod-quartz', 'minetest-mod-skyblock', 'minetest-mod-skyblock', 'minetest-mod-throwing',
'minetest-mod-throwing', 'minetest-mod-unified-inventory', 'minetest-mod-unified-inventory', 'minetest-mod-unifieddyes',
'minetest-mod-unifieddyes', 'minetest-mod-worldedit' 'minetest-mod-worldedit'
] ]
_description = [ _description = [