#!/bin/bash -e mkdir -p ~/.edm cd ~/.edm for l in data packages ; do rm -f ${l} ln -s "@GENTOO_GAMESDIR@"/${l} ${l} done exec "@GENTOO_EXEC@" "$@"