source: lliurex-up/trunk/old/lliurex-up-classroom.scripts/set-preseed-on-classroom @ 2636

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

add old files

  • Property svn:executable set to *
File size: 519 bytes
Line 
1#!/bin/bash
2
3# LIST OF PACKAGES
4# In a client or a server machine
5# this preseed packages must be installed
6# before any upgrade
7# lliurex-up comes to save me!
8
9#
10# Some values
11LIST_OF_PACKAGES="lliurex-preseed-ocsagent"
12
13#
14# Migrate method (upgrade or dist-upgrade)
15_migrate()
16{
17        apt-get -f install "$LIST_OF_PACKAGES"
18}
19
20
21#
22# Show info of command execution
23_show_info()
24{
25        echo "Fix preseed under classroom model"
26}
27
28
29
30# MAIN script
31
32case $1 in
33        migrate)
34                _migrate
35        ;;
36        info)
37                _show_info
38        ;;
39        *)
40        ;;
41esac
42
43exit 0
Note: See TracBrowser for help on using the repository browser.