Applied shellcheck

This commit is contained in:
Suikan 2021-07-03 08:17:36 +09:00
parent b9e490e5f3
commit dc1e8ff720
5 changed files with 63 additions and 61 deletions

View file

@ -14,7 +14,7 @@ function para_install_msg_common() {
HEREDOC
# In the EFI system, add this mapping
if [ ${ISEFI} -eq 1 ] ; then
if [ "${ISEFI}" -eq 1 ] ; then
echo "/boot/efi : ${DEV}${EFIPARTITION}"
fi
@ -22,7 +22,7 @@ function para_install_msg_common() {
echo "/ : /dev/mapper/${VGNAME}-${LVROOTNAME}"
# In case of erased storage, add this mapping
if [ ${ERASEALL} -eq 1 ] ; then
if [ "${ERASEALL}" -eq 1 ] ; then
echo "swap : /dev/mapper/${VGNAME}-${LVSWAPNAME}"
fi