Skip to content

Commit 0b107d4

Browse files
committed
EDuke32 script correction
Avoid downloading Duke3D shareware if full version is present
1 parent 8f49834 commit 0b107d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/ports/eduke32.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function install_eduke32() {
7777
function game_data_eduke32() {
7878
local dest="$romdir/ports/duke3d"
7979
if [[ "$md_id" == "eduke32" ]]; then
80-
if [[ ! -f "$dest/duke3d.grp" ]]; then
80+
if [[ ! -n $(find $dest -maxdepth 1 -iname duke3d.grp) ]]; then
8181
mkUserDir "$dest"
8282
local temp="$(mktemp -d)"
8383
download "$__archive_url/3dduke13.zip" "$temp"

0 commit comments

Comments
 (0)