blob: 5a9faeccc3bffdbad3839edc592055980eed58d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
homedir=$( getent passwd "$USER" | cut -d: -f6 )
rdir=${homedir}/.local/share/raptor-cos
srdir=/usr/share/raptor-cos
if [ ! -d "${rdir}" ]; then
mkdir -p "${rdir}"
fi
for file in "${srdir}"/*.GLB "${srdir}"/SoundFont.sf2; do
if [ ! -h "${rdir}/`basename ${file}`" ]; then
ln -s "${file}" "${rdir}/"
fi
done
if [ ! -f "${rdir}/SETUP.INI" ]; then
cp "${srdir}/SETUP.INI" "${rdir}/SETUP.INI"
fi
cd "${rdir}"
${srdir}/raptor-cos
|