]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- routines for updating GConf schemas database
authoraflinta <aflinta@pld-linux.org>
Tue, 22 Mar 2005 21:33:38 +0000 (21:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-gconf-schema-install -> 1.1
    rpm-gconf-schema-uninstall -> 1.1

rpm-gconf-schema-install [new file with mode: 0755]
rpm-gconf-schema-uninstall [new file with mode: 0755]

diff --git a/rpm-gconf-schema-install b/rpm-gconf-schema-install
new file mode 100755 (executable)
index 0000000..fb3cf31
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+umask 022
+export GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults"
+if [ $# -gt 0 ] ; then
+    /usr/bin/gconftool-2 --makefile-install-rule \
+    "$@" > /dev/null 
+else
+    /usr/bin/gconftool-2 --makefile-install-rule \
+    /etc/gconf/schemas/*.schemas > /dev/null 
+fi
diff --git a/rpm-gconf-schema-uninstall b/rpm-gconf-schema-uninstall
new file mode 100755 (executable)
index 0000000..cd22ab6
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+umask 022
+export GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults"
+if [ $# -gt 0 ] ; then
+    /usr/bin/gconftool-2 --makefile-uninstall-rule \
+    "$@" > /dev/null 
+fi
This page took 0.038151 seconds and 4 git commands to generate.