fix(installer): drop double echo

This commit is contained in:
knoflook 2021-11-30 12:07:40 +01:00
parent 930c29f4a2
commit 6c87d501e6
Signed by: knoflook
GPG Key ID: D6A1D0E8FC4FEF1C

View File

@ -76,13 +76,13 @@ function install_abra_release {
p=$HOME/.local/bin p=$HOME/.local/bin
com="echo PATH=\$PATH:$p" com="echo PATH=\$PATH:$p"
if [[ $SHELL =~ "bash" ]]; then if [[ $SHELL =~ "bash" ]]; then
echo "echo $com >> $HOME/.bashrc" echo "$com >> $HOME/.bashrc"
elif [[ $SHELL =~ "fizsh" ]]; then elif [[ $SHELL =~ "fizsh" ]]; then
echo "echo $com >> $HOME/.fizsh/.fizshrc" echo "$com >> $HOME/.fizsh/.fizshrc"
elif [[ $SHELL =~ "zsh" ]]; then elif [[ $SHELL =~ "zsh" ]]; then
echo "echo $com >> $HOME/.zshrc" echo "$com >> $HOME/.zshrc"
else else
echo "echo $com >> $HOME/.profile" echo "$com >> $HOME/.profile"
fi fi
fi fi