cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2025-01-21 02:46:59 +03:00
parent 08a57c948a
commit 84321084a1

View File

@ -78,7 +78,6 @@ TO=$2
if ! [ -z "$DRY_RUN" ] \ if ! [ -z "$DRY_RUN" ] \
|| [ -e "$FROM_THEME_DIR" ] ; then || [ -e "$FROM_THEME_DIR" ] ; then
# instance id's... # instance id's...
# XXX not sure how to deal with $DRY_RUN here...
FROM_INSTANCEID=${DRY_RUN:-$(lxc-attach $FROM -- turnkey-occ config:system:get instanceid)} FROM_INSTANCEID=${DRY_RUN:-$(lxc-attach $FROM -- turnkey-occ config:system:get instanceid)}
FROM_INSTANCEID=${DRY_RUN:+FROM} FROM_INSTANCEID=${DRY_RUN:+FROM}
TO_INSTANCEID=${DRY_RUN:-$(lxc-attach $TO -- turnkey-occ config:system:get instanceid)} TO_INSTANCEID=${DRY_RUN:-$(lxc-attach $TO -- turnkey-occ config:system:get instanceid)}