-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.sh
51 lines (38 loc) · 1.26 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# User configuration.
#
# This file should contain the product-specific configuration.
# For example, one may overwrite default global configuration
# values such as ROOT_ONLY.
# Plus, one should define the three greeter functions 'welcome',
# 'installation_complete', and 'installation_incomplete'.
# Set to 1 to enforce root installations.
#ROOT_ONLY=0
# Overwrite to disable the initial touch-all-files.
#INITIAL_TOUCH_ALL=1
# Overwrite to disable task dependency checking.
#TASK_DEPENDENCY_CHECKING=1
# Overwrite default utils & tasks directories.
#UTILS_DIR=${INSTALLER_PATH}/data/utils
#TASKS_DIR=${INSTALLER_PATH}/data/tasks
# Overwrite default log-to-stdout config.
#LOG_STDOUT=( "ERROR" "IMPORTANT" "WARNING" "INFO" "SKIP" "START" "FINISH" )
function welcome() {
echo -e "\e[00;32mWelcome to the new and shiny installer framework!\e[00m"
}
function installation_complete() {
echo -e "\e[00;32mMove along now, there's nothing else you can do!\e[00m"
# If you want the install script to terminate automatically:
#exit 0
}
function installation_incomplete() {
echo -e "\e[00;31mWhoopsie!\e[00m"
}
#function main_menu_prompt() {
# echo "What ye want?"
#}
#function task_menu_prompt() {
# echo "TAAASK?"
#}
#function skip_menu_prompt() {
# echo "SKIPP?"
#}