From ca15347e187b49888ac599024aec142d71d32999 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 25 Feb 2023 13:56:14 +0300 Subject: [PATCH] test --- hlna-git/postinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hlna-git/postinstall.sh b/hlna-git/postinstall.sh index baf4265..ea47175 100644 --- a/hlna-git/postinstall.sh +++ b/hlna-git/postinstall.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -if -f $HOME/.zshrc; then +if test -f $HOME/.zshrc; then echo 'alias hlna="hlna.py"' >> $HOME/.zshrc echo 'alias hlna-bot="hlna-bot.py"' >> $HOME/.zshrc source ~/.zshrc -elif -f $HOME/.config/fish/config.fish; then +elif test -f $HOME/.config/fish/config.fish; then echo 'alias hlna="hlna.py"' >> $HOME/.config/fish/config.fish echo 'alias hlna-bot="hlna-bot.py"' >> $HOME/.config/fish/config.fish source ~/.config/fish/config.fish