Fixed a bug in removing files.

This commit is contained in:
Storm Dragon 2024-08-09 00:18:34 -04:00
parent b2eee7fc46
commit 75841e29e9

View File

@ -721,7 +721,7 @@ case "${game}" in
unzip -n -d "${installPath}/doom" "${cache}/TobyAccessibilityMod_Version${tobyVersion}.zip"
unzip -n -d "${installPath}/doom" "${cache}/OpMDK_ForV7-0.zip"
cp -v "${cache}/keyshare-universal.pk3" "${installPath}/doom"
rm -fv "${installPath}/"*.{bat,exe}
rm -fv "${installPath}/doom/"*.{bat,dll,exe}
if [[ -e /usr/share/doom/blasphem.wad ]]; then
ln -s /usr/share/doom/blasphem.wad "${installPath}/doom/"
fi