From 52a7384146a0bcf13c1c9394ddac7b10dd1a41a0 Mon Sep 17 00:00:00 2001 From: paukstelis Date: Sun, 26 Jun 2022 16:34:04 -0400 Subject: [PATCH] add condition to move --- octoprint_deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint_deploy.sh b/octoprint_deploy.sh index bd8322e..36e0370 100755 --- a/octoprint_deploy.sh +++ b/octoprint_deploy.sh @@ -818,7 +818,7 @@ prepare () { echo 'instance:generic port:5000' > /etc/octoprint_instances echo 'Adding camera port records' touch /etc/camera_ports - if [ -n $MOVE ]; then + if [ -n $MOVE ] || [ $MOVE -eq 1 ]; then echo "You can move your previously uploaded gcode to the template instance now." echo "If you do this, ALL new instances will have these gcode files." if prompt_confirm "Move old gcode files to template instance?"; then