move still not working as expected

This commit is contained in:
paukstelis
2022-06-26 17:13:15 -04:00
parent 06074b8a92
commit bd5bf6181d

View File

@@ -818,7 +818,7 @@ prepare () {
echo 'instance:generic port:5000' > /etc/octoprint_instances echo 'instance:generic port:5000' > /etc/octoprint_instances
echo 'Adding camera port records' echo 'Adding camera port records'
touch /etc/camera_ports touch /etc/camera_ports
if [ -n $MOVE ] || [ $MOVE -eq 1 ]; then if [ $MOVE -eq 1 ]; then
echo "You can move your previously uploaded gcode to the template instance now." 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." echo "If you do this, ALL new instances will have these gcode files."
if prompt_confirm "Move old gcode files to template instance?"; then if prompt_confirm "Move old gcode files to template instance?"; then