blob: d351d3b7620283932653250952ff0db962279f52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
mkdir -p /home/olpc/{Activities,Library}
chown olpc:olpc /home/olpc/{Activities,Library}
shopt -s nullglob
for i in /build_shared/sugar-bundles/*; do
if [ "${i:(-4)}" == ".xol" ]; then
/usr/bin/unzip -d /home/olpc/Library -q $i
else
/bin/su -c "/usr/bin/sugar-install-bundle $i" - olpc
fi
done
shopt -u nullglob
chown -R olpc:olpc /home/olpc/{Activities,Library}
|