ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/mkmanifest
(Generate patch)

Comparing deliantra/Deliantra-Client/mkmanifest (file contents):
Revision 1.2 by root, Sun Aug 13 02:43:22 2006 UTC vs.
Revision 1.7 by root, Tue Sep 2 16:50:06 2008 UTC

1#!/bin/sh 1#!/bin/sh
2 2
3( 3(
4 grep -v ^resources/ MANIFEST 4 <MANIFEST grep -v ^resources/ | grep -v ^pod/
5 echo
6 for theme in "" "/theme-plain"; do
7 base="resources$theme"
5 for file in \ 8 for file in \
6 resources/*.png \ 9 $base/*.png \
7 resources/fonts/*.ttf \ 10 $base/fonts/*.ttf \
8 resources/sounds/*.wav \ 11 $base/music/*.ogg \
9 resources/sounds/*.ogg \
10 resources/sounds/config \
11 resources/music/*.ogg \
12 resources/ui/resist/*.png \ 12 $base/ui/resist/*.png \
13 resources/pod/*.png \ 13 $base/pod/*.png \
14 $base/pod/*.jpg \
15 $base/arch/*.png
16 do
17 [ -e "$file" ] && echo "$file"
18 done
19 done
20 for file in \
14 pod/*.pod 21 pod/*.pod
15 do 22 do
16 echo "$file" 23 echo "$file"
17 done 24 done
18) >MANIFEST~ && mv MANIFEST~ MANIFEST 25) | uniq >MANIFEST~ && mv MANIFEST~ MANIFEST
19 26
20 27

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines