updated install script to install binary only

This commit is contained in:
JaKooLit 2024-06-01 17:24:47 +09:00
parent 1aa189e58a
commit ee3f64bee9

View File

@ -41,7 +41,7 @@ printf "\n"
printf "${NOTE} Installing fzf from source...${RESET}\n" printf "${NOTE} Installing fzf from source...${RESET}\n"
if git clone --depth 1 https://github.com/junegunn/fzf.git; then if git clone --depth 1 https://github.com/junegunn/fzf.git; then
cd fzf || exit 1 cd fzf || exit 1
if ./install 2>&1 | tee -a "$MLOG" ; then if ./install --bin 2>&1 | tee -a "$MLOG" ; then
printf "${OK} fzf installed successfully.\n" 2>&1 | tee -a "$MLOG" printf "${OK} fzf installed successfully.\n" 2>&1 | tee -a "$MLOG"
else else
echo -e "${ERROR} Installation failed for fzf." 2>&1 | tee -a "$MLOG" echo -e "${ERROR} Installation failed for fzf." 2>&1 | tee -a "$MLOG"