./hildon-icons/debian r7: Fixed install-theme.sh to get the image resolutions correctly instead of failing to build. (Closes: #494226)

Jonny Lamb jonnylamb at jonnylamb.com
Fri Aug 8 00:09:53 UTC 2008


------------------------------------------------------------
revno: 7
committer: Jonny Lamb <jonnylamb at jonnylamb.com>
branch nick: debian
timestamp: Fri 2008-08-08 01:09:53 +0100
message:
  Fixed install-theme.sh to get the image resolutions correctly instead of failing to build. (Closes: #494226)
modified:
  debian/changelog
  install-theme.sh
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-06-26 20:20:58 +0000
+++ b/debian/changelog	2008-08-08 00:09:53 +0000
@@ -1,3 +1,10 @@
+hildon-icons (2.1.debian-2) UNRELEASED; urgency=medium
+
+  * Fixed install-theme.sh to get the image resolutions correctly instead of
+    failing to build. (Closes: #494226)
+
+ -- Jonny Lamb <jonnylamb at jonnylamb.com>  Fri, 08 Aug 2008 01:08:16 +0100
+
 hildon-icons (2.1.debian-1) unstable; urgency=low
 
   * Initial upload to debian

=== modified file 'install-theme.sh'
--- a/install-theme.sh	2007-12-28 08:30:41 +0000
+++ b/install-theme.sh	2008-08-08 00:09:53 +0000
@@ -25,9 +25,7 @@
 pushd $2
 
 for i in $1/*/*.png; do 
-	INFO="`file $i | sed -e 's/,//g'`"
-	IX="`echo $INFO | awk -- '{ print $5}'`"
-	IY="`echo $INFO | awk -- '{ print $7}'`"
+	eval $(basename `dirname $1` | awk -Fx '{ print "IX=" $1 " IY=" $2 }')
 
 	[ -n "$DH_VERBOSE" ] && echo "$i $IX $IY"
 	if [ "$IX" = "$IY" ]; then



More information about the pkg-maemo-commits mailing list