Hi,

Scratch installs a script that is a bit messed up:

$ sysctl kern.version
kern.version=OpenBSD 5.1 (GENERIC.MP) #207: Sun Feb 12 09:42:14 MST 2012
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

$ pkg_info |grep scratch
scratch-1.3         visual programming environment and toolkit

$ cat /usr/local/share/scratch/iniscratch
SCRATCH_DIR=${HOME}/Scratch
mkdir ${SCRATCH_DIR}
gunzip < 
/usr/obj/ports/scratch-1.3/fake-amd64/usr/local/lib/scratch/Scratch.image.gz
> ${SCRATCH_DIR}/Scratch.image
for i in Help locale ; do ln -s
/usr/obj/ports/scratch-1.3/fake-amd64/usr/local/lib/scratch/$i
${SCRATCH_DIR}; done
for i in Media Projects ; do ln -s
/usr/obj/ports/scratch-1.3/fake-amd64/usr/local/share/scratch/$i
${SCRATCH_DIR}; done

$ locate Scratch.image.gz
/usr/local/lib/scratch/Scratch.image.gz


Sorry, I can't figure out how to fix it...


-Barry

Reply via email to