Compare commits

...
Author SHA1 Message Date
plusone_nick 19be010275 Update scripts/installer/installer
continuous-integration/drone/pr Build is passing
2023-10-21 00:51:27 +00:00
plusone_nick 4695bbfb06 Merge pull request 'Update scripts/installer/installer' (#1) from plusone_nick-patch-1 into main
Reviewed-on: plusone_nick/abra#1
2023-10-17 00:48:15 +00:00
plusone_nick 06d480ce91 Update scripts/installer/installer 2023-10-15 23:09:50 +00:00
+2 -2
View File
@@ -78,11 +78,11 @@ function install_abra_release {
mv "$HOME/.local/bin/.abra-download" "$HOME/.local/bin/abra"
chmod +x "$HOME/.local/bin/abra"
x=$(echo $PATH | grep $HOME/.local/bin)
x=$(export $PATH | grep $HOME/.local/bin)
if [ $? -ne 0 ]; then
echo "$(tput setaf 3)WARNING: $HOME/.local/bin/ is not in \$PATH! If you want to run abra by just typing "abra" you should add it to your \$PATH! To do that run:$(tput sgr0)"
p=$HOME/.local/bin
com="echo PATH=\$PATH:$p"
com="export PATH=\$PATH:$p"
if [[ $SHELL =~ "bash" ]]; then
echo "$com >> $HOME/.bashrc"
elif [[ $SHELL =~ "fizsh" ]]; then