fixes to previous commit

This commit is contained in:
nathan 2016-06-06 11:54:44 -04:00
parent 6e2d829040
commit 4abf05b0ee

View File

@ -62,8 +62,11 @@ echo -n "Would you like to switch to the new config file now [y/n]: "
read switch_bool
if [ $switch_bool == "y" ]; then
script_folder=$(dirname $0)
$script_folder/switch-conf-file $name
cd config
if [ -e asc.conf ]; then
rm asc.conf
fi
ln -s $conf_file asc.conf
else
echo "Config file was not switch. Run 'npm run switch-conf-file' if you would like to change this."
echo "Config file was not switched. Run 'npm run switch-conf-file' if you would like to change this."
fi