summaryrefslogtreecommitdiff
blob: 5d572204848d27f2e4e0ec525638b738440cfe94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Get all installed zip files
zips=$(ls /usr/share/games/eduke32/*.zip)

# Create opts for voidsw
for zip in ${zips[@]}; do
	opts+="-g ${zip} "
done

# Switch to /tmp, for writing there the log file and run voidsw with set opts
cd /tmp && voidsw ${opts}