2023-02-20 19:01:58 +00:00
|
|
|
diff --git a/data/dconf/make-dconf-override-db.sh b/data/dconf/make-dconf-override-db.sh
|
2023-12-28 20:06:06 +00:00
|
|
|
index 32cb1530..375baa41 100755
|
2023-02-20 19:01:58 +00:00
|
|
|
--- a/data/dconf/make-dconf-override-db.sh
|
|
|
|
+++ b/data/dconf/make-dconf-override-db.sh
|
2023-12-28 20:06:06 +00:00
|
|
|
@@ -12,15 +12,6 @@ export XDG_CACHE_HOME="$TMPDIR/cache"
|
2023-02-20 19:01:58 +00:00
|
|
|
export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas"
|
|
|
|
mkdir -p $XDG_CONFIG_HOME $XDG_CACHE_HOME $GSETTINGS_SCHEMA_DIR
|
|
|
|
|
|
|
|
-eval `dbus-launch --sh-syntax`
|
|
|
|
-
|
2023-12-28 20:06:06 +00:00
|
|
|
-trap cleanup EXIT
|
|
|
|
-
|
|
|
|
-cleanup() {
|
|
|
|
- test $? -eq 0 && exit
|
|
|
|
- rm -rf $TMPDIR; kill $DBUS_SESSION_BUS_PID
|
|
|
|
-}
|
2023-02-20 19:01:58 +00:00
|
|
|
-
|
|
|
|
# in case that schema is not installed on the system
|
|
|
|
glib-compile-schemas --targetdir "$GSETTINGS_SCHEMA_DIR" "$PWD"
|
|
|
|
|
2023-12-28 20:06:06 +00:00
|
|
|
@@ -57,5 +48,3 @@ if [ -d $TMPDIR/cache/gvfs ] ; then
|
2023-02-20 19:01:58 +00:00
|
|
|
umount $TMPDIR/cache/gvfs
|
|
|
|
fi
|
|
|
|
rm -rf $TMPDIR
|
|
|
|
-
|
|
|
|
-kill $DBUS_SESSION_BUS_PID
|