This commit is contained in:
2022-09-05 14:42:35 +03:00
parent cb68a59f0a
commit 68885e577e
+3 -3
View File
@@ -74,14 +74,14 @@ printf_n(){ printf "$1\n" "${@:2}"; }
# Actions # Actions
#touch $HOME/.bash_profile #touch $HOME/.bash_profile
if [ -f ~/.bash_profile ]; if [ -f $HOME/.bash_profile ];
then then
echo -e "${C_LGn}File bash_profile is exist${RES}" echo -e "${C_LGn}File bash_profile is exist${RES}"
else else
if [ -f ~/.profile ]; if [ -f $HOME/.profile ];
then then
echo -e "${C_LGn}Make necessary link to file bash_profile${RES}" echo -e "${C_LGn}Make necessary link to file bash_profile${RES}"
ln -s ~/.profile ~/.bash_profile ln -s $HOME/.profile $HOME/.bash_profile
else else
echo "создаем файл bash_profle" echo "создаем файл bash_profle"
touch $HOME/.bash_profile touch $HOME/.bash_profile