summaryrefslogtreecommitdiff
path: root/src/profiles
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-10-31 17:00:41 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-10-31 17:00:41 +0100
commitba9b80f15ad31509840926f7568ddfc57921ad60 (patch)
treeaed6c2575cfbea7974a1fc59609a2f62e166c391 /src/profiles
parent5356859d1b9a8155007d2f79a880b8ac5ba8a15e (diff)
lots of changes related to making the choice of the UI between cli and dialog fully transparant. this is a work in progress
Diffstat (limited to 'src/profiles')
-rw-r--r--src/profiles/profile-base7
-rw-r--r--src/profiles/profile-dieter4
2 files changed, 6 insertions, 5 deletions
diff --git a/src/profiles/profile-base b/src/profiles/profile-base
index 4c5f77c..72df3b1 100644
--- a/src/profiles/profile-base
+++ b/src/profiles/profile-base
@@ -7,6 +7,7 @@ var_PKG_SOURCE_TYPE='cd'
var_PKG_FILE=/home/arch/fifa/package-list
var_FILE_URL="file:///src/core/pkg"
var_MIRRORLIST="/etc/pacman.d/mirrorlist"
+var_UI_TYPE="cli" # set to cli or dia for dialog
###### Phases ( can be overridden by more specific profiles) ######
@@ -57,7 +58,7 @@ worker_prepare_disks ()
worker_package_list ()
{
#TODO: sensible list of packages
- echo "No actions specified"
+ true
}
@@ -75,12 +76,12 @@ worker_install_packages ()
worker_install_bootlader ()
{
#TODO: autodetection or whatever
- echo "No actions specified"
+ true
}
worker_configure_home ()
{
- echo "No actions specified"
+ notify "No actions specified"
}
diff --git a/src/profiles/profile-dieter b/src/profiles/profile-dieter
index a0c369f..8580fd4 100644
--- a/src/profiles/profile-dieter
+++ b/src/profiles/profile-dieter
@@ -4,7 +4,7 @@ var_RUNTIME_PACKAGES="svn"
phase_preparation ()
{
# All things that need to be done manually first
- echo "A few manual things need to happen first..."
+ notify "A few manual things need to happen first..."
echo -n "Do you want to (re)-configure your networking? (y/*)"
read answer
if [ "$answer" = y ]
@@ -25,7 +25,7 @@ phase_preparation ()
#TODO: find something against svn's interactive ssl cert checking. http://www.7php.net/svn-client-certificate-authentication-cache/ might help
- echo "**** From now on. everything will be automatic. Enjoy the show!"
+ notify "**** From now on. everything will be automatic. Enjoy the show!"
execute worker runtime_packages
}