[arch-commits] CVS update of extra/gnome/gnome-phone-manager (1 file)

Jan de Groot jgc at archlinux.org
Fri Oct 19 22:14:46 UTC 2007


    Date: Friday, October 19, 2007 @ 18:14:46
  Author: jgc
    Path: /home/cvs-extra/extra/gnome/gnome-phone-manager

   Added: gnome-phone-manager.install (1.1)

Add install scriptlet


-----------------------------+
 gnome-phone-manager.install |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)


Index: extra/gnome/gnome-phone-manager/gnome-phone-manager.install
diff -u /dev/null extra/gnome/gnome-phone-manager/gnome-phone-manager.install:1.1
--- /dev/null	Fri Oct 19 18:14:46 2007
+++ extra/gnome/gnome-phone-manager/gnome-phone-manager.install	Fri Oct 19 18:14:46 2007
@@ -0,0 +1,28 @@
+pkgname=gnome-phone-manager
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+op=$1
+shift
+
+$op $*




More information about the arch-commits mailing list