From 41ed404d9c680fa2247b0e4cf2c7cb61a395ca29 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 25 Feb 2023 16:30:23 +0300 Subject: [PATCH] 1 --- hlna-git/postinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hlna-git/postinstall.sh b/hlna-git/postinstall.sh index f8fa273..5977d93 100755 --- a/hlna-git/postinstall.sh +++ b/hlna-git/postinstall.sh @@ -1,4 +1,7 @@ echo "я запустился" +whoami +exit +whoami if test -f $HOME/.zshrc; then echo "zshrc" echo 'alias hlna="hlna.py"'>>$HOME/.zshrc @@ -9,7 +12,6 @@ echo 'alias hlna="hlna.py"'>>$HOME/.config/fish/config.fish echo 'alias hlna-bot="hlna-bot.py"'>>$HOME/.config/fish/config.fish else echo "bash" -whoami echo 'alias hlna="hlna.py"'>>$HOME/.bashrc echo 'alias hlna-bot="hlna-bot.py"'>>$HOME/.bashrc source $HOME/.bashrc