mirror of
https://github.com/SangeloDev/niminit.git
synced 2024-11-09 19:02:38 +00:00
Undo error catching
This commit is contained in:
parent
366f46cdd6
commit
b2012ce370
1 changed files with 9 additions and 13 deletions
|
@ -18,7 +18,6 @@ if [[ $OSTYPE == 'darwin'* ]]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{
|
|
||||||
# Compile program
|
# Compile program
|
||||||
nim c -o:bin/niminit niminit &&
|
nim c -o:bin/niminit niminit &&
|
||||||
# Create local bin folder if it doesn't exist
|
# Create local bin folder if it doesn't exist
|
||||||
|
@ -28,9 +27,6 @@ fi
|
||||||
# Create config directory & copy files
|
# Create config directory & copy files
|
||||||
mkdir -p $HOME/.config/niminit &&
|
mkdir -p $HOME/.config/niminit &&
|
||||||
cp config/* $HOME/.config/niminit &&
|
cp config/* $HOME/.config/niminit &&
|
||||||
} || {
|
|
||||||
echo "ERROR: The script errored. There might be some clues above this line."
|
|
||||||
}
|
|
||||||
|
|
||||||
# Print info message to export local bin if not already
|
# Print info message to export local bin if not already
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
Loading…
Reference in a new issue