Skip to content

Commit a5a617d

Browse files
Rename game data files using all lowercase
...in case user has old DOS files. Add `rename` dependency.
1 parent ebd360f commit a5a617d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scriptmodules/ports/eduke32.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rp_module_section="opt"
1818
function depends_eduke32() {
1919
local depends=(
2020
flac libflac-dev libvorbis-dev libpng-dev libvpx-dev freepats
21-
libsdl2-dev libsdl2-mixer-dev
21+
libsdl2-dev libsdl2-mixer-dev rename
2222
)
2323

2424
isPlatform "x86" && depends+=(nasm)
@@ -77,6 +77,9 @@ function install_eduke32() {
7777
function game_data_eduke32() {
7878
local dest="$romdir/ports/duke3d"
7979
if [[ "$md_id" == "eduke32" ]]; then
80+
pushd "$dest"
81+
rename 'y/A-Z/a-z/' *
82+
popd
8083
if [[ ! -f "$dest/duke3d.grp" ]]; then
8184
mkUserDir "$dest"
8285
local temp="$(mktemp -d)"

0 commit comments

Comments
 (0)