misc: fix variuous marginals

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-04-04 17:53:16 +02:00
parent 3c19f2f1ce
commit e530e20ae6
5 changed files with 13 additions and 12 deletions

View file

@ -449,14 +449,14 @@ install_template() {
break
;;
"interactiv shell")
echo "// edit ${dst} to your needs"
echo -e "// edit ${_Red}${dst}${_creset} to your needs"
echo -e "// exit with [${_BCyan}CTRL-D${_creset}]"
sudo -H -u "${owner}" -i
$DIFF_CMD "${dst}" "${template_file}"
echo
echo "${_BBlack}did you edit file ...${_creset}"
printf " ${template_file}"
if ask_yn "... to your needs?"; then
echo -e "// ${_BBlack}did you edit file ...${_creset}"
echo -en "// ${_Red}${dst}${_creset}"
if ask_yn "//${_BBlack}... to your needs?${_creset}"; then
break
fi
;;