Skip to content

Commit

Permalink
Улучшает сообщение при выборе статьи или доки (#4427)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Agarkov <agarkovromachka@mail.ru>
  • Loading branch information
AgarkovRoman and Roman Agarkov authored May 3, 2023
1 parent fbd2135 commit 86698b7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion new.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,13 @@ else
esac
done

read -r -p "$(echo "Введите название статьи: ")" TITLE
if [[ $TYPE == "doka" ]]; then
type="доки: "
else
type="статьи: "
fi

read -r -p "Введите название $type" TITLE
read -r -p "$(echo "Введите название папки (используется для формирования ссылки): ")" FOLDER

fi
Expand Down

0 comments on commit 86698b7

Please sign in to comment.