Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2012-07-17 11:28:34 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2012-07-17 11:28:34 (GMT)
commitf8c0a08fedcabd4fab0e4f719622a65ec9aea0ce (patch)
treecfb75733f19509ad4223b1eeccc8acbb575d776e
parent761f871d15e2bbc29a64eea8606f033016ddd6f5 (diff)
While instlaling .xo, install its mime_types as wellfactory
-rw-r--r--oob/post.sh5
1 files changed, 2 insertions, 3 deletions
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 \