File: addmissing

package info (click to toggle)
crystalspace 0.94-20020412-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 62,276 kB
  • ctags: 52,843
  • sloc: cpp: 274,783; ansic: 6,608; perl: 6,276; objc: 3,952; asm: 2,942; python: 2,354; php: 542; pascal: 530; sh: 430; makefile: 370; awk: 193
file content (23 lines) | stat: -rwxr-xr-x 1,004 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ! /bin/sh
CURDIR=$1
cp -r $CURDIR/CS/scripts/lua \
	$CURDIR/debian/tmp/usr/lib/crystalspace/scripts
cp -r $CURDIR/CS/scripts/blender \
	$CURDIR/debian/tmp/usr/lib/crystalspace/scripts

for level in flarge partsys
do
	[ -d $CURDIR/CS/data/$level ] && \
	cd $CURDIR/CS/data/$level ; \
	zip $CURDIR/debian/tmp/usr/lib/crystalspace/data/$level.zip world
done
[ -d $CURDIR/debian/tmp/usr/lib/crystalspace/data/mdltest ] \
|| mkdir $CURDIR/debian/tmp/usr/lib/crystalspace/data/mdltest
cp $CURDIR/CS/data/mdltest/?o* $CURDIR/debian/tmp/usr/lib/crystalspace/data/mdltest

[ ! -f $CURDIR/debian/tmp/usr/lib/crystalspace/data/config/csbumptest.cfg ] && \
echo "Compensate missing csbumptest.cfg file" && \
cp $CURDIR/CS/data/config/csbumptest.cfg $CURDIR/debian/tmp/usr/lib/crystalspace/data/config
[ ! -f $CURDIR/debian/tmp/usr/lib/crystalspace/data/config/csdemo.cfg ] && \
echo "Compensate missing csdemo.cfg file" && \
cp $CURDIR/CS/data/config/csdemo.cfg $CURDIR/debian/tmp/usr/lib/crystalspace/data/config