[arch-commits] Commit in policykit-gnome/trunk (policykit-gnome.install)

Jan de Groot jgc at archlinux.org
Mon Aug 25 17:13:16 UTC 2008


    Date: Monday, August 25, 2008 @ 13:13:16
  Author: jgc
Revision: 10294

add missing file

Added:
  policykit-gnome/trunk/policykit-gnome.install

-------------------------+
 policykit-gnome.install |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Added: policykit-gnome.install
===================================================================
--- policykit-gnome.install	                        (rev 0)
+++ policykit-gnome.install	2008-08-25 17:13:16 UTC (rev 10294)
@@ -0,0 +1,23 @@
+pkgname=policykit-gnome
+
+## arg 1:  the new package version
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+}
+
+## arg 1:  the new package version
+## arg 2:  the old package version
+pre_upgrade() {
+  pre_remove $1
+}
+
+## arg 1:  the new package version
+## arg 2:  the old package version
+post_upgrade() {
+  post_install $1
+}
+
+## arg 1:  the old package version
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}




More information about the arch-commits mailing list