Skip to content

Commit 8ea9f3c

Browse files
Update create_latest_candle_dev.sh
1 parent 9013cf9 commit 8ea9f3c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

create_latest_candle_dev.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2861,6 +2861,11 @@ fi
28612861

28622862

28632863

2864+
if [ -d /home/pi/webthings/gateway ] && [ -d /home/pi/webthings/gateway2 ]; then
2865+
rm -rf /home/pi/webthings/gateway2
2866+
fi
2867+
2868+
28642869
# cp /home/pi/.webthings/etc/webthings_settings_backup.js /home/pi/.webthings/etc/webthings_settings.js
28652870

28662871
if [ -f /boot/candle_first_run_complete.txt ] && [ ! -f /boot/candle_original_version.txt ]; then
@@ -2878,7 +2883,6 @@ fi
28782883
# Disable old bootup actions service
28792884
systemctl disable candle_bootup_actions.service
28802885

2881-
28822886
# delete bootup_actions, just in case this script is being run as a bootup_actions script.
28832887
if [ -f /boot/bootup_actions.sh ]; then
28842888
rm /boot/bootup_actions.sh

0 commit comments

Comments
 (0)