diff options
author | Marco 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) |
commit | 6a0aae24b19fbd827075244f4cf586b58e8cb120 (patch) | |
tree | 2bfea6b106af425e164a94a43df13df567adda3c | |
parent | 919a734072c39f74df46c3fc8b9da2544bc319d7 (diff) |
Support for .xo
-rw-r--r-- | soas.ks | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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 |