temp bash source fix, elm install scrip
This commit is contained in:
@@ -41,7 +41,7 @@ for script in "${scripts[@]}"; do
|
|||||||
|
|
||||||
printf "\nRunning #$script_number ${C_YELLOW}$script_target${C_NC}...\n${C_DGRAY}"
|
printf "\nRunning #$script_number ${C_YELLOW}$script_target${C_NC}...\n${C_DGRAY}"
|
||||||
chmod +x "$script"
|
chmod +x "$script"
|
||||||
source "$HOME/.bashrc" && "$script" | indent
|
source "$script" | indent
|
||||||
printf "${C_NC}"
|
printf "${C_NC}"
|
||||||
|
|
||||||
# Clean up if fails
|
# Clean up if fails
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ bash_target="$HOME"
|
|||||||
link_folder "$bash_source" "$bash_target"
|
link_folder "$bash_source" "$bash_target"
|
||||||
echo "bash dotfiles are linked"
|
echo "bash dotfiles are linked"
|
||||||
|
|
||||||
|
source "$HOME/.bashrc"
|
||||||
|
echo "bashrc sourced"
|
||||||
|
|
||||||
sudo chmod -R 0644 /etc/update-motd.d/
|
sudo chmod -R 0644 /etc/update-motd.d/
|
||||||
|
|
||||||
bash --version
|
bash --version
|
||||||
|
|||||||
9
install/17-elm.sh
Executable file
9
install/17-elm.sh
Executable 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user