source: lliurex-up/trunk/fuentes/scripts/common/update-gconf @ 2609

Last change on this file since 2609 was 2609, checked in by kbut, 3 years ago

refactoring

File size: 619 bytes
Line 
1#!/bin/sh
2# Update gconf cache
3
4# gettext domain
5TEXTDOMAIN="lliurex-up"
6export TEXTDOMAIN
7
8COMMON_LIBRARY="/usr/share/lliurex-up/common-upgrade-vars.sh"
9if [  -r $COMMON_LIBRARY  ] ; then 
10        . $COMMON_LIBRARY
11fi
12
13#gettext messages
14INFO_MESSAGE="$(gettext "Update Gconf default values on system")"
15
16# Methods
17_info()
18{
19        echo "$INFO_MESSAGE"
20}
21
22_migrate()
23{
24        echo " * [ LliureX Up ] : Setting the icon theme as default"
25        #dconf update
26}
27
28_die()
29{
30        echo "Error: $1"
31        exit 1
32}
33
34_usage()
35{
36        echo "# Unknown argument"
37}
38
39ACTION="$1"
40case "$ACTION" in
41        migrate)
42                _migrate
43        ;;
44        info)
45                _info
46        ;;
47        *)
48                _usage
49        ;;
50esac
51
52exit 0
Note: See TracBrowser for help on using the repository browser.