mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-06 08:27:22 +08:00
Update install.sh
This commit is contained in:
parent
8c8f363cfa
commit
f0202336da
@ -5,6 +5,7 @@ set -Eeuo pipefail
|
|||||||
|
|
||||||
if [ -f "$STORAGE/dsm.ver" ]; then
|
if [ -f "$STORAGE/dsm.ver" ]; then
|
||||||
BASE=$(<"$STORAGE/dsm.ver")
|
BASE=$(<"$STORAGE/dsm.ver")
|
||||||
|
BASE="${BASE//[![:print:]]/}"
|
||||||
[ -z "$BASE" ] && BASE="DSM_VirtualDSM_69057"
|
[ -z "$BASE" ] && BASE="DSM_VirtualDSM_69057"
|
||||||
else
|
else
|
||||||
# Fallback for old installs
|
# Fallback for old installs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user