Update of /cvs/debian-openoffice/oo-help/debian
In directory gluck:/tmp/cvs-serv21370

Modified Files:
        rules 
Log Message:
add detection to work with broken sharedXX.zip and schartXX.zip files in the 
.orig.tgzs

Index: rules
===================================================================
RCS file: /cvs/debian-openoffice/oo-help/debian/rules,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- rules       30 Nov 2004 22:20:15 -0000      1.11
+++ rules       10 Dec 2004 16:09:52 -0000      1.12
@@ -60,6 +60,18 @@
          fi ;\
        fi
 
+       # another hack; some zips are weird...
+       if ! file unpacked/help/$(HELPLANG)/common.tree | grep -i XML > 
/dev/null; then \
+               cd unpacked/help/$(HELPLANG); \
+               unzip common.tree && rm common.tree && \
+                       unzip shared$(HELPNUM).zip && rm shared$(HELPNUM).zip; \
+       fi
+       if ! file unpacked/help/$(HELPLANG)/schart.tree | grep -i XML > 
/dev/null; then \
+               cd unpacked/help/$(HELPLANG); \
+               unzip schart.tree && rm schart.tree && \
+                       unzip schart$(HELPNUM).zip && rm schart$(HELPNUM).zip; \
+       fi
+
        # Fix permissions of files
        find unpacked -type f -exec chmod 644 {} \;
 

Reply via email to