#!/bin/sh # Update gconf cache # gettext domain TEXTDOMAIN="lliurex-up" export TEXTDOMAIN COMMON_LIBRARY="/usr/share/lliurex-up/common-upgrade-vars.sh" if [ -r $COMMON_LIBRARY ] ; then . $COMMON_LIBRARY fi #gettext messages INFO_MESSAGE="$(gettext "Update Gconf default values on system")" # Methods _info() { echo "$INFO_MESSAGE" } _migrate() { echo " * [ LliureX Up ] : Setting the icon theme as default" #dconf update } _die() { echo "Error: $1" exit 1 } _usage() { echo "# Unknown argument" } ACTION="$1" case "$ACTION" in migrate|partial) _migrate ;; info) _info ;; *) _usage ;; esac exit 0