source: lliurex-up/trunk/old/lliurex-up-client.scripts/remove-mirror @ 2636

Last change on this file since 2636 was 2636, checked in by kbut, 5 years ago

add old files

File size: 621 bytes
Line 
1#!/bin/sh
2# Installing packages (doing the real dist-upgrade)
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 "Remove Mirror")"
15
16# Methods
17
18remove_lliurex_mirror()
19{
20        echo "Is not needed"
21}
22
23_info()
24{
25        echo "$INFO_MESSAGE"
26}
27
28_migrate()
29{
30        remove_lliurex_mirror
31               
32}
33
34_usage()
35{
36        echo "# Unknown argument"
37
38}
39
40_die()
41{
42        echo "Error: $1"
43        exit 1
44}
45
46ACTION="$1"
47case "$ACTION" in
48        migrate)
49                _migrate
50        ;;
51        info)
52                _info
53        ;;
54        *)
55                _usage
56        ;;
57esac
58
Note: See TracBrowser for help on using the repository browser.