source: lliurex-up/trunk/fuentes/lliurex-up-server.scripts/upgrade-mirror @ 464

Last change on this file since 464 was 464, checked in by jrpelegrina, 5 years ago

First release to Xenial

  • Property svn:executable set to *
File size: 513 bytes
Line 
1#!/bin/bash
2
3
4# gettext domain
5TEXTDOMAIN="lliurex-up"
6export TEXTDOMAIN
7
8
9COMMON_LIBRARY="/usr/share/lliurex-up/common-upgrade-vars.sh"
10if [  -r $COMMON_LIBRARY  ] ; then 
11        . $COMMON_LIBRARY
12fi
13
14#gettext messages
15INFO_MESSAGE="$(gettext "Update the sources list on server")"
16
17
18
19_usage()
20{
21        echo "# Unknown argument"
22}
23
24
25_info()
26{
27        echo "$INFO_MESSAGE"
28}
29
30
31_migrate()
32{
33        echo " [ LliureX Up ] : Nothing to do"
34}
35
36ACTION="$1"
37case "$ACTION" in
38        migrate)
39                _migrate
40        ;;
41        info)
42                _info
43        ;;
44        *)
45                _usage
46        ;;
47esac
48
49
50
51
Note: See TracBrowser for help on using the repository browser.