catala/syntax_highlighting/en/setup_atom.sh
2022-07-20 12:04:30 +02:00

13 lines
200 B
Bash
Executable File

#! /usr/bin/env sh
set -eu
FILE=~/.atom/packages/catala_en
SCRIPT=`realpath $0`
SCRIPTPATH=`dirname $SCRIPT`
if [ ! -L "$FILE" ]; then
echo "Creating link"
ln -s -f $SCRIPTPATH/atom "$FILE"
fi