[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : neil
Repository : xara
Revision   : 1620
Date       : Mon Jul 31 13:07:48 BST 2006

Changed paths:
   M /Trunk/XaraLX/autopackage/default.apspec.in

Use tar instead of unzip to install help and protect against missing tar or update-desktop-database commands causing the install to fail


Diff:
Index: Trunk/XaraLX/autopackage/default.apspec.in
===================================================================
--- Trunk/XaraLX/autopackage/default.apspec.in	(revision 1619)
+++ Trunk/XaraLX/autopackage/default.apspec.in	(revision 1620)
@@ -47,12 +47,12 @@
 installGnome2Mime mime-storage/gnome/*
 copyFiles doc "$PREFIX/share/xaralx"
 mkdir -p "$PREFIX/share/xaralx/doc/en"
-unzip -qo xaralxHelp.zip -d "$PREFIX/share/xaralx/doc/en"
+((tar xfz xaralxHelp.tar.gz -C "$PREFIX/share/xaralx/doc/en" 2>/dev/null) || /bin/true )
 copyFiles Examples "$PREFIX/share/xaralx"
 copyFiles Templates "$PREFIX/share/xaralx"
 # copyFiles bin "$PREFIX/share/xaralx"
 # copyFiles video "$PREFIX/share/xaralx"
-update-desktop-database
+((update-desktop-database 2>/dev/null) || /bin/true )
 
 [Uninstall]
 # Usually just the following line is enough to uninstall everything


Xara