mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
change -eq 1 to -ne 0
To accept non-zero value
This commit is contained in:
parent
dc1e8ff720
commit
b7738a9fd8
4 changed files with 10 additions and 10 deletions
|
|
@ -14,7 +14,7 @@ function para_install_msg_common() {
|
|||
HEREDOC
|
||||
|
||||
# In the EFI system, add this mapping
|
||||
if [ "${ISEFI}" -eq 1 ] ; then
|
||||
if [ "${ISEFI}" -ne 0 ] ; 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}" -ne 0 ] ; then
|
||||
echo "swap : /dev/mapper/${VGNAME}-${LVSWAPNAME}"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue