diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-01 21:40:07 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-01 21:40:07 +0000 |
commit | 5ba1fc5fcc1f53198b144782538931a81d5e2777 (patch) | |
tree | 1cff5e6e2ea39162323d5348c2afd352bf37433e /packages/prboom | |
parent | fc3d546d6eab75f7175b0cc1557067e39b39f5da (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/01/01 22:16:38+01:00 handhelds.org!CoreDump
Bump PR
2005/01/01 22:07:42+01:00 handhelds.org!CoreDump
Typo fix
BKrev: 41d718b7bePyBHjmVXzRh6bpkWG8jA
Diffstat (limited to 'packages/prboom')
-rw-r--r-- | packages/prboom/files/prboom.sh | 16 | ||||
-rw-r--r-- | packages/prboom/prboom-opie_2.2.6.bb | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/packages/prboom/files/prboom.sh b/packages/prboom/files/prboom.sh index e69de29bb2..0bc43baa45 100644 --- a/packages/prboom/files/prboom.sh +++ b/packages/prboom/files/prboom.sh @@ -0,0 +1,16 @@ +#/bin/sh + +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 + +echo "Model: [$model]" +echo "Launching prboom $par $*" + +prboom $par $* diff --git a/packages/prboom/prboom-opie_2.2.6.bb b/packages/prboom/prboom-opie_2.2.6.bb index 1c476c87c6..1f59e9e653 100644 --- a/packages/prboom/prboom-opie_2.2.6.bb +++ b/packages/prboom/prboom-opie_2.2.6.bb @@ -1,6 +1,6 @@ include prboom_${PV}.bb -PR = "r2" +PR = "r3" S = "${WORKDIR}/prboom-${PV}" |