temp bash source fix, elm install scrip

This commit is contained in:
Andrejus
2020-07-11 16:40:24 +01:00
parent 57eb54e2d5
commit 40d057bcf9
3 changed files with 13 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ for script in "${scripts[@]}"; do
printf "\nRunning #$script_number ${C_YELLOW}$script_target${C_NC}...\n${C_DGRAY}"
chmod +x "$script"
source "$HOME/.bashrc" && "$script" | indent
source "$script" | indent
printf "${C_NC}"
# Clean up if fails

View File

@@ -5,6 +5,9 @@ bash_target="$HOME"
link_folder "$bash_source" "$bash_target"
echo "bash dotfiles are linked"
source "$HOME/.bashrc"
echo "bashrc sourced"
sudo chmod -R 0644 /etc/update-motd.d/
bash --version

9
install/17-elm.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
if not_installed "elm"; then
curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz
gunzip elm.gz
chmod +x elm
sudo mv elm /usr/local/bin/
fi