r10478 - in /packages/unstable/human-icon-theme/debian: changelog
postinst
alanbach-guest at users.alioth.debian.org
alanbach-guest at users.alioth.debian.org
Thu Apr 26 09:08:50 UTC 2007
Author: alanbach-guest
Date: Thu Apr 26 09:08:50 2007
New Revision: 10478
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=10478
Log:
fixed postinst script
Modified:
packages/unstable/human-icon-theme/debian/changelog
packages/unstable/human-icon-theme/debian/postinst
Modified: packages/unstable/human-icon-theme/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/human-icon-theme/debian/changelog?rev=10478&op=diff
==============================================================================
--- packages/unstable/human-icon-theme/debian/changelog (original)
+++ packages/unstable/human-icon-theme/debian/changelog Thu Apr 26 09:08:50 2007
@@ -17,7 +17,6 @@
* Updated debian/rules
- Added simple-patchsys.mk and uploaders.mk
* Added postinst script
- - Added build, clean_up and install functions
- Added lsb_release distro detection method
- Replaces Ubuntu logo with Debian or Parsix
* Dropped 01_make_type_scalable_for_missing_icons.patch, obsolete
@@ -26,5 +25,5 @@
* Add missing build-dep on gnome-pkg-tools.
* Build-depend on libxml-parser-perl instead of intltool.
- -- Alan Baghumian <alan at technotux.org> Thu, 26 Apr 2007 12:05:37 +0330
+ -- Alan Baghumian <alan at technotux.org> Thu, 26 Apr 2007 12:37:39 +0330
Modified: packages/unstable/human-icon-theme/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/human-icon-theme/debian/postinst?rev=10478&op=diff
==============================================================================
--- packages/unstable/human-icon-theme/debian/postinst (original)
+++ packages/unstable/human-icon-theme/debian/postinst Thu Apr 26 09:08:50 2007
@@ -6,34 +6,24 @@
# Anyway, defaults to Debian
test -z $DIST && DIST="Debian"
-build
-install
-clean_up
+# build PNG files
+sng /usr/share/icons/Human/$DIST/*.sng
-function clean_up
-{
- test -e /usr/share/icons/Human/$DIST/start-here-22x22.png && \
- rm /usr/share/icons/Human/$DIST/start-here-22x22.png
- test -e /usr/share/icons/Human/$DIST/start-here-24x24.png && \
- rm /usr/share/icons/Human/$DIST/start-here-24x24.png
- test -e /usr/share/icons/Human/$DIST/start-here-48x48.png && \
- rm /usr/share/icons/Human/$DIST/start-here-48x48.png
-}
+# replace Ubuntu logo with Debian or Parsix
+install -D -m 644 -o root -g root /usr/share/icons/Human/$DIST/start-here-22x22.png \
+ /usr/share/icons/Human/22x22/places/start-here.png
+install -D -m 644 -o root -g root /usr/share/icons/Human/$DIST/start-here-24x24.png \
+ /usr/share/icons/Human/24x24/places/start-here.png
+install -D -m 644 -o root -g root /usr/share/icons/Human/$DIST/start-here-48x48.png \
+ /usr/share/icons/Human/48x48/places/start-here.png
+install -D -m 644 -o root -g root /usr/share/icons/Human/$DIST/start-here.svg \
+ /usr/share/icons/Human/scalable/places/start-here.svg
-function build
-{
- sng /usr/share/icons/Human/$DIST/*.sng
-}
+# clean-up
+test -e /usr/share/icons/Human/$DIST/start-here-22x22.png && \
+ rm /usr/share/icons/Human/$DIST/start-here-22x22.png
+test -e /usr/share/icons/Human/$DIST/start-here-24x24.png && \
+ rm /usr/share/icons/Human/$DIST/start-here-24x24.png
+test -e /usr/share/icons/Human/$DIST/start-here-48x48.png && \
+ rm /usr/share/icons/Human/$DIST/start-here-48x48.png
-function install
-{
- # replace Ubuntu logo with Debian or Parsix
- install -D -m 644 -o root -g root /usr/share/icons/Human/$DIST/start-here-22x22.png \
- /usr/share/icons/Human/22x22/places/start-here.png
- install -D -m 644 -o root -g root /usr/share/icons/Human/$DIST/start-here-24x24.png \
- /usr/share/icons/Human/24x24/places/start-here.png
- install -D -m 644 -o root -g root /usr/share/icons/Human/$DIST/start-here-48x48.png \
- /usr/share/icons/Human/48x48/places/start-here.png
- install -D -m 644 -o root -g root /usr/share/icons/Human/$DIST/start-here.svg \
- /usr/share/icons/Human/scalable/places/start-here.svg
-}
More information about the pkg-gnome-commits
mailing list