We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef4c41 commit 27af2cdCopy full SHA for 27af2cd
scriptmodules/ports/dxx-rebirth.sh
@@ -126,10 +126,13 @@ function configure_dxx-rebirth() {
126
local ver
127
local name="Descent Rebirth"
128
for ver in 1 2; do
129
- mkRomDir "ports/descent${ver}"
130
[[ "$ver" -eq 2 ]] && name="Descent 2 Rebirth"
131
addPort "$md_id" "descent${ver}" "$name" "$md_inst/d${ver}x-rebirth -hogdir $romdir/ports/descent${ver}"
132
+ # skip folder / config work on removal
133
+ [[ "$md_mode" == "remove" ]] && continue
134
+
135
+ mkRomDir "ports/descent${ver}"
136
# copy any existing configs from ~/.d1x-rebirth and symlink the config folder to $md_conf_root/descent1/
137
moveConfigDir "$home/.d${ver}x-rebirth" "$md_conf_root/descent${ver}/"
138
if isPlatform "kms"; then
0 commit comments