Skip to content

Commit

Permalink
add migration step to remove obsolete theme package (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Mar 7, 2020
1 parent 6cfa3d6 commit ee76937
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions addon_files/update_script
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,15 @@ if [ -d $RED_DIR/var/node_modules/redmatic-homekit ]; then
rm $RED_DIR/var/package.json.bak
fi

#
# Migration < 5.5 to >= 5.5
# Remove obsolete theme package
#
if [ -d $RED_DIR/lib/node_modules/node-red-contrib-theme-midnight-red ]; then
rm -r $RED_DIR/lib/node_modules/node-red-contrib-theme-midnight-red
fi


#
# Remove package-lock
#
Expand Down

0 comments on commit ee76937

Please sign in to comment.