Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=75778b04955c29663675b6494c280abe964225e6
commit 75778b04955c29663675b6494c280abe964225e6 Author: bouleetbil <bouleet...@frogdev.info> Date: Wed Aug 5 23:23:49 2009 +0200 gnome-frugalware-1.1-2-i686 *added .install for switch to new theme diff --git a/source/gnome/gnome-frugalware/FrugalBuild b/source/gnome/gnome-frugalware/FrugalBuild index f64ea99..2f11b22 100644 --- a/source/gnome/gnome-frugalware/FrugalBuild +++ b/source/gnome/gnome-frugalware/FrugalBuild @@ -3,7 +3,7 @@ pkgname=gnome-frugalware pkgver=1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Gnome default theme for Frugalware Linux." url="http://frugalware.org" rodepends=('gnome-themes' 'gtk+2-engines>=2.16.1' 'dejavu-ttf' "gtk+2-theme-frugalware=$pkgver") @@ -13,6 +13,7 @@ archs=('i686' 'x86_64' 'ppc') up2date="lynx -dump http://ftp.frugalware.org/pub/other/artwork/gnome-theme | Flasttar" source=(http://ftp.frugalware.org/pub/other/artwork/gnome-theme/$pkgname-$pkgver.tar.gz) signatures=(${source[0]}.asc) +install=gnome-frugalware.install subpkgs=('gtk+2-theme-frugalware') subdescs=('Frugalware GTK+2 theme') diff --git a/source/gnome/gnome-frugalware/gnome-frugalware.install b/source/gnome/gnome-frugalware/gnome-frugalware.install new file mode 100644 index 0000000..29baea0 --- /dev/null +++ b/source/gnome/gnome-frugalware/gnome-frugalware.install @@ -0,0 +1,43 @@ +post_install() { + #switch to new theme + + gconftool-2 --config-source=xml::/etc/gconf/gconf.xml.defaults \ + --direct --type string -s \ + /apps/metacity/general/theme "Shiki-Colors-Metacity" + + gconftool-2 --config-source=xml::/etc/gconf/gconf.xml.defaults \ + --direct --type string -s \ + /desktop/gnome/interface/gtk_theme "Frugalware" + + gconftool-2 --config-source=xml::/etc/gconf/gconf.xml.defaults \ + --direct --type string -s \ + /desktop/gnome/interface/icon_theme "frugalware-gnome-icon-theme" + +} + +post_upgrade() +{ + post_install +} + +pre_remove() +{ + + gconftool-2 --config-source=xml::/etc/gconf/gconf.xml.defaults \ + --direct --type string -s \ + /apps/metacity/general/theme "Clearlooks" + + gconftool-2 --config-source=xml::/etc/gconf/gconf.xml.defaults \ + --direct --type string -s \ + /desktop/gnome/interface/gtk_theme "GNOME" + + gconftool-2 --config-source=xml::/etc/gconf/gconf.xml.defaults \ + --direct --type string -s \ + /desktop/gnome/interface/icon_theme "gnome" + + +} + +op=$1 +shift +$op $* _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git