[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. 6d5498b3fdb5df6d009c56989865c41ee1c31fee
Steffen Moeller
moeller at debian.org
Thu Mar 12 22:25:33 UTC 2009
The following commit has been merged in the master branch:
commit 2062b21cd0be23a3fb8ca79096ebfa27de61e0e8
Author: Steffen Moeller <moeller at debian.org>
Date: Thu Mar 12 23:11:02 2009 +0100
Allowing to specify all tasks in one go with "ALL"
diff --git a/install.sh b/install.sh
index d28dfa7..b1ced99 100755
--- a/install.sh
+++ b/install.sh
@@ -101,6 +101,8 @@ PACKAGES_TASK_PHONE="zhone"
PACKAGES_TASK_NET="inetutils-ping host"
PACKAGES_TASK_WEB="midori"
PACKAGES_TASK_WIFI="dhcp3-client wpasupplicant wireless-tools"
+# tasks defined
+intern_tasks_defined="GAMES,GPS,PHONE,NET,WEB,WIFI"
# device-specific values
UBOOT_ENV_SIZE=262144
@@ -270,6 +272,9 @@ ENVIRONMENT
PHONE zhone (always selected)
WEB midori
WIFI wicd, wireless-tools, wpasupplicant, dhcp3-client
+
+ ALL Selection of all the tasks listed above.
+
To specify the tasks shall be assigned to the TASKS
environment variable as a comma separated list (set to
'$TASKS').
@@ -800,6 +805,10 @@ action_tasks () {
return 0;
fi
+ if [ "ALL" = "$TASKS" ]; then
+ TASKS="$intern_tasks_defined"
+ fi
+
echo "Performing selected tasks: $TASKS"
for intern_task in $( echo $TASKS|tr "," " ")
--
Various non-packaged files
More information about the pkg-fso-commits
mailing list