mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
The CON file is not mandatory for running Duke
svn path=/nixpkgs/trunk/; revision=15607
This commit is contained in:
parent
c1d2a2e2d1
commit
2c0ef01583
@ -35,17 +35,13 @@ stdenv.mkDerivation rec {
|
||||
then
|
||||
EDUKE32_DATA_DIR=/var/games/eduke32
|
||||
fi
|
||||
if [ "$EDUKE32_CON_FILE" = "" ]
|
||||
then
|
||||
EDUKE32_CON_FILE=\$EDUKE32_DATA_DIR/GAME.CON
|
||||
fi
|
||||
if [ "$EDUKE32_GRP_FILE" = "" ]
|
||||
then
|
||||
EDUKE32_GRP_FILE=\$EDUKE32_DATA_DIR/DUKE3D.GRP
|
||||
fi
|
||||
|
||||
cd \$EDUKE32_DATA_DIR
|
||||
eduke32 /x\$EDUKE32_CON_FILE /g\$EDUKE32_GRP_FILE
|
||||
eduke32 /g\$EDUKE32_GRP_FILE
|
||||
EOF
|
||||
chmod 755 $out/bin/eduke32-wrapper
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user