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