openbsd-ports/graphics/scratch/files/iniscratch
sthen 23bdd718d7 fix paths in iniscratch; pointed out by "Beni" and Lars Engblom
(there still a problem apparently with the squeak vm in -current, so this
port doesn't actually work at present..).
2013-01-08 15:23:15 +00:00

6 lines
301 B
Plaintext

SCRATCH_DIR=${HOME}/Scratch
mkdir ${SCRATCH_DIR}
gunzip < ${TRUEPREFIX}/lib/scratch/Scratch.image.gz > ${SCRATCH_DIR}/Scratch.image
for i in Help locale ; do ln -s ${TRUEPREFIX}/lib/scratch/$i ${SCRATCH_DIR}; done
for i in Media Projects ; do ln -s ${TRUEPREFIX}/share/scratch/$i ${SCRATCH_DIR}; done