Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@marcopg.org>2008-12-26 18:52:22 (GMT)
committer Marco Pesenti Gritti <marco@marcopg.org>2008-12-26 18:52:22 (GMT)
commit6a0aae24b19fbd827075244f4cf586b58e8cb120 (patch)
tree2bfea6b106af425e164a94a43df13df567adda3c
parent919a734072c39f74df46c3fc8b9da2544bc319d7 (diff)
Support for .xo
-rw-r--r--soas.ks31
1 files changed, 31 insertions, 0 deletions
diff --git a/soas.ks b/soas.ks
index 2f3e91e..3264919 100644
--- a/soas.ks
+++ b/soas.ks
@@ -132,6 +132,37 @@ EndSection
FOE
fi
+mkdir -p /home/liveuser/Activities
+for bundle in \`find /usr/share/sugar/bundles -maxdepth 1\` ; do
+ ln -s \$bundle /home/liveuser/Activities
+done
+
EOF
%end
+
+%post --nochroot
+
+ACTIVITIES="
+http://dev.laptop.org/~morgan/bundles/other/Paint-23.xo
+http://dev.laptop.org/~cscott/bundles/Pippy-30.xo
+"
+
+WD=$PWD
+BUNDLES_DIR=$INSTALL_ROOT/usr/share/sugar/bundles
+
+mkdir -p $BUNDLES_DIR
+cd $BUNDLES_DIR
+
+for url in $ACTIVITIES ; do
+ curl -O $url
+done
+
+for file in *.xo ; do
+ unzip $file
+ rm $file
+done
+
+cd $WD
+
+%end