fixed problem of echo

This commit is contained in:
Suikan 2021-07-03 10:04:17 +09:00
parent de0e689e27
commit 7e68b3ea66

View file

@ -45,8 +45,8 @@ function main() {
# This modification is guaratnteed once only. To allow re-trying the installation after unexpected GUI/TUI installer quit.
grub_additional_parameters="rd.auto=1 cryptdevice=${DEV}${CRYPTPARTITION}:${CRYPTPARTNAME} root=/dev/mapper/${VGNAME}-${LVROOTNAME}"
if grep "$grub_additional_parameters" /etc/default/grub ; then # Is additonal parameter already added?
# Yes ".../etc/default/grub already modified. OK, skipping to modiy."
echo
# Yes
echo ".../etc/default/grub already modified. OK, skipping to modiy."
else
# Not yet. Let's add.
echo "...Modify /etc/default/grub."