From f8c0a08fedcabd4fab0e4f719622a65ec9aea0ce Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Tue, 17 Jul 2012 11:28:34 +0000 Subject: While instlaling .xo, install its mime_types as well --- diff --git a/oob/post.sh b/oob/post.sh index 0170f20..ac53367 100644 --- a/oob/post.sh +++ b/oob/post.sh @@ -51,9 +51,8 @@ cp opt/sweets/locales/locale-archive /usr/lib/locale/ find lib -type d -name netfilter -exec rm -rf {} \; || true mkdir -p home/olpc/{Activities,Library} -for bundle in $(ls $src_root/activities/*.xo); do - unzip -o -q $bundle -d home/olpc/Activities/ -done +for i in $(ls $src_root/activities/*.xo); do HOME=home/olpc sugar-install-bundle $i; done +for i in `find home/olpc/.local -type l`; do ln -fs /$(readlink $i) $i; done # Index Sugar Network local content to avoid doing that on the first startup sugar-network-service \ -- cgit v0.9.1