Skip to content

Commit

Permalink
delete lib files on update (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Apr 2, 2019
1 parent b40cc45 commit b9a24b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions addon_files/update_script
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ if [ -d $RED_DIR/lib/node_modules/ain2 ]; then
rm -r $RED_DIR/lib/node_modules/ain2
fi

#
# Delete lib files on update
#
if [ -d $RED_DIR/lib ]; then
rm $RED_DIR/lib/lib*
fi

#
# Install addon files
#
Expand Down

0 comments on commit b9a24b7

Please sign in to comment.