diff --git a/neofetch/deploy.zsh b/neofetch/deploy.zsh index 2b8fddf..7fcf6e8 100755 --- a/neofetch/deploy.zsh +++ b/neofetch/deploy.zsh @@ -2,5 +2,9 @@ GIT_ROOT=$(git rev-parse --show-toplevel) -sudo rm /etc/neofetch.conf -sudo ln -s ${GIT_ROOT}/neofetch/neofetch.conf /etc/neofetch.conf +if [[ -L "/etc/neofetch.conf" ]]; then + echo "Symlink for neofetch already exists, skipping" +else + echo "Creating symlink for neofetch.conf" + sudo ln -s ${GIT_ROOT}/neofetch/neofetch.conf /etc/neofetch.conf +fi \ No newline at end of file