Files
Sourcetrail/setup/Linux/Coati.sh
T
Andreas Stallinger c8679dabbe build: Linux Package Reworked
New Linux Package, data folder moved to where the user have the rights to edit.
2015-09-07 10:27:34 +02:00

10 lines
364 B
Bash
Executable File

#!/bin/sh
if [ ! -d "~/.config/coati" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
cp -r /usr/local/share/coati/.config/coati ~/.config/coati
echo "First start of Coati from this user, copy default configfiles to ~/.config/coati"
fi
export LD_LIBRARY_PATH=/usr/local/share/coati/lib
cd ~/.config/coati && exec /usr/local/share/coati/Coati