Skip to content

Commit

Permalink
added remove functions for packaged modules
Browse files Browse the repository at this point in the history
  • Loading branch information
joolswills committed Sep 27, 2016
1 parent f2f0597 commit f17d03c
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scriptmodules/emulators/pcsx2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ function install_bin_pcsx2() {
aptInstall pcsx2
}

function remove_pcsx2() {
aptRemove pcsx2
}

function configure_pcsx2() {
mkRomDir "ps2"

Expand Down
4 changes: 4 additions & 0 deletions scriptmodules/ports/lincity-ng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ function install_bin_lincity-ng() {
aptInstall lincity-ng
}

function remove_lincity-ng() {
aptRemove lincity-ng
}

function configure_lincity-ng() {
if isPlatform "x11"; then
addPort "$md_id" "lincity-ng" "LinCity-NG" "/usr/games/lincity-ng"
Expand Down
4 changes: 4 additions & 0 deletions scriptmodules/ports/micropolis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ function install_bin_micropolis() {
aptInstall micropolis
}

function remove_micropolis() {
aptRemove micropolis
}

function configure_micropolis() {
if isPlatform "x11"; then
addPort "$md_id" "micropolis" "Micropolis" "/usr/games/micropolis"
Expand Down
4 changes: 4 additions & 0 deletions scriptmodules/ports/minecraft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ function install_bin_minecraft() {
aptInstall minecraft-pi
}

function remove_minecraft() {
aptRemove minecraft-pi
}

function configure_minecraft() {
addPort "$md_id" "minecraft" "Minecraft" "xinit $md_inst/Minecraft.sh"

Expand Down
4 changes: 4 additions & 0 deletions scriptmodules/ports/openttd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ function _update_hook_openttd() {
function install_bin_openttd() {
aptInstall openttd
}

function remove_openttd() {
aptRemove openttd
}

function configure_openttd() {
addPort "$md_id" "openttd" "OpenTTD" "openttd"
Expand Down
4 changes: 4 additions & 0 deletions scriptmodules/ports/supertux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ function _update_hook_supertux() {
function install_bin_supertux() {
aptInstall supertux
}

function remove_supertux() {
aptRemove supertux
}

function configure_supertux() {
addPort "$md_id" "supertux" "SuperTux" "supertux"
Expand Down
4 changes: 4 additions & 0 deletions scriptmodules/ports/uqm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ function install_bin_uqm() {
fi
}

function remove_uqm() {
aptRemove uqm uqm-content uqm-music uqm-voice
}

function configure_uqm() {
addPort "$md_id" "uqm" "Ur-quan Masters" "uqm -f"
}

0 comments on commit f17d03c

Please sign in to comment.