RetroPie-Setup/scriptmodules/ports/supertux.sh
s1eve-mcdichae1 f20c622a4f
supertux.sh: (QOL) remove 171 MB game data
...on module removal.
2022-04-05 14:40:51 -07:00

33 lines
978 B
Bash

#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
#
rp_module_id="supertux"
rp_module_desc="SuperTux 2d scrolling platform"
rp_module_licence="GPL3 https://raw.githubusercontent.com/SuperTux/supertux/master/LICENSE.txt"
rp_module_section="opt"
rp_module_flags="!mali"
function _update_hook_supertux() {
# to show as installed in retropie-setup 4.x
hasPackage supertux && mkdir -p "$md_inst"
}
function install_bin_supertux() {
aptInstall supertux
}
function remove_supertux() {
aptRemove supertux supertux-data
}
function configure_supertux() {
addPort "$md_id" "supertux" "SuperTux" "supertux2"
}