2018-11-21 03:13:56 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Get Path to script folder
|
|
|
|
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|
|
|
# Fix path in case of symlinks
|
|
|
|
DIR=$(cd "$DIR" && pwd -P)
|
|
|
|
|
2018-11-22 04:41:51 +00:00
|
|
|
if [ ! -L "/usr/local/bin/cosmic-user" ]; then
|
|
|
|
ln -s "${DIR}/cosmic-user" "/usr/local/bin/cosmic-user"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -L "/usr/local/bin/cosmic-ship" ]; then
|
|
|
|
ln -s "${DIR}/cosmic-ship" "/usr/local/bin/cosmic-ship"
|
2018-11-21 03:13:56 +00:00
|
|
|
fi
|
|
|
|
|
2018-11-21 03:50:36 +00:00
|
|
|
if [ ! -L "/usr/local/bin/log" ]; then
|
|
|
|
ln -s "${DIR}/log" "/usr/local/bin/log"
|
|
|
|
fi
|
|
|
|
|
2018-11-21 03:13:56 +00:00
|
|
|
if [ ! -L "/etc/welcomemail.tmpl" ]; then
|
|
|
|
ln -s "${DIR}/welcomemail.tmpl" "/etc/welcomemail.tmpl"
|
|
|
|
fi
|
2018-11-22 05:00:39 +00:00
|
|
|
|
|
|
|
if [ ! -L "/etc/newship.tmpl" ]; then
|
|
|
|
ln -s "${DIR}/newship.tmpl" "/etc/newship.tmpl"
|
|
|
|
fi
|