conf_disk: corrected blank var and version bump
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
# * CALCDRV: Target drives, preferably through ID.
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_conf_disks="0.0.8"
|
||||
export VER_conf_disks="0.0.9"
|
||||
export DEP_conf_disks="upgrade_dist"
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -40,7 +40,7 @@ conf_zfs()
|
||||
|
||||
# Create filesystem
|
||||
prnt I "Création du pool zcalc..."
|
||||
if [[ $FORCEBLANK ]]; then
|
||||
if [[ $FORCEBLANK == true ]]; then
|
||||
local opt="--force"
|
||||
for drv in $CALCDRV; do
|
||||
if [[ ! $(sfdisk -d $drv 2>&1) == "" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user