qpkg/pkgs/neofetch.sh

22 lines
339 B
Bash
Executable File

#!/usr/bin/env bash
if ! [ -d $HOME/.local/bin ]; then
mkdir $HOME/.local/bin
fi
if ! [ -d $HOME/.qpkg ]; then
mkdir $HOME/.qpkg
fi
if [ -d $HOME/.qpkg/neofetch ]; then
rm -rf ~/.qpkg/neofetch
fi
git clone https://github.com/dylanaraps/neofetch ~/.qpkg/neofetch
cd ~/.qpkg/neofetch
make PREFIX=$HOME/.local install
cd -