From f84e0ededff77945b6bff613d01e301f4b440041 Mon Sep 17 00:00:00 2001 From: "nslu2-linux.adm@bkbits.net" Date: Sat, 1 Jan 2005 23:40:07 +0000 Subject: Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/02 00:09:43+01:00 handhelds.org!CoreDump Bump PR 2005/01/02 00:07:10+01:00 handhelds.org!CoreDump Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/mhentges/OpenEmbedded/bitbake/openembedded 2005/01/02 00:06:44+01:00 handhelds.org!CoreDump prboom creates a bad config if launched w/o iwad file 2005/01/01 22:46:15+00:00 nexus.co.uk!pb reinstate lost ${sysconfdir} in FILES_gtk+ BKrev: 41d734d75fyfVmKGMI_SN4EGsKojKQ --- packages/prboom/files/prboom.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'packages/prboom/files') diff --git a/packages/prboom/files/prboom.sh b/packages/prboom/files/prboom.sh index 0bc43baa45..53ffd4fc6c 100644 --- a/packages/prboom/files/prboom.sh +++ b/packages/prboom/files/prboom.sh @@ -2,13 +2,10 @@ model="`cat /proc/cpuinfo | sed -n "/Hardware/s/.*\:\ \(.*\)/\1/p"`" -if ! test -d "$HOME/.prboom" -then - case $model in - *Collie) par="-height 240";; - *) par="";; - esac -fi +case $model in +*Collie) par="-height 240";; +*) par="";; +esac echo "Model: [$model]" echo "Launching prboom $par $*" -- cgit v1.2.3