diff options
author | Martin Dengler <martin@martindengler.com> | 2009-06-20 02:51:54 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-06-20 04:02:09 (GMT) |
commit | 5cd77eb759c011d2385e22aa93e379a7065ef027 (patch) | |
tree | 26a77f9ead4f0f292775a164c55771cdddb74724 | |
parent | be02d0ca3974fc6dd803a6384b89ce5449a32c8b (diff) |
symlink honey at XO-build-creation time
-rw-r--r-- | soas-xo.ks | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -121,11 +121,13 @@ chown $CREATE_USERNAME:$CREATE_USERNAME /home/$CREATE_USERNAME/.Xresources # FIXME: fix upstream at http://dev.sugarlabs.org/ticket/954 sed -i -e 's/Sans Serif 10/Sans Serif 7/g' /usr/share/sugar/data/sugar-100.gtkrc - -#### from sugar.ks's additions to livesuser script - -chown $CREATE_USERNAME /home/$CREATE_USERNAME -chgrp $CREATE_USERNAME /home/$CREATE_USERNAME +# symlink Honey activities to /home/.../Activities +HONEY_DIR=/usr/share/sugar/honey +chown -R $CREATE_USERNAME:$CREATE_USERNAME $HONEY_DIR +mkdir /home/$CREATE_USERNAME/Activities +for activity_dir in $HONEY_DIR/* ; do + ln -s $activity_dir /home/$CREATE_USERNAME/Activities +done # setup Xclients cat > /home/$CREATE_USERNAME/.Xclients <<FOE |