Commit cd4c3b7 1 parent 3c484da commit cd4c3b7 Copy full SHA for cd4c3b7
File tree 2 files changed +8
-0
lines changed
distributions/openhab/src/main/resources/bin
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -321,6 +321,7 @@ done < "$TempDir/filelist.lst"
321
321
echo " Clearing cache..."
322
322
rm -rf " ${OPENHAB_USERDATA:? } /cache"
323
323
rm -rf " ${OPENHAB_USERDATA:? } /tmp"
324
+ rm -rf " ${OPENHAB_USERDATA:? } /marketplace"
324
325
325
326
# # Unzip the downloaded folder into openHAB's directory WITHOUT replacing any existing files.
326
327
echo " Updating openHAB..."
Original file line number Diff line number Diff line change @@ -743,6 +743,13 @@ Function Update-openHAB() {
743
743
return PrintAndThrow " Could not delete the $OHUserData \tmp directory" $_
744
744
}
745
745
746
+ try {
747
+ Write-Host - ForegroundColor Cyan " Removing $OHUserData \marketplace"
748
+ DeleteIfExists " $OHUserData \marketplace" $True
749
+ } catch {
750
+ return PrintAndThrow " Could not delete the $OHUserData \marketplace directory" $_
751
+ }
752
+
746
753
# ############# STEP 4 - copy files from temporary to distribution WITHOUT replacement
747
754
Write-Host - ForegroundColor Cyan " Copying $TempDistribution to $OHDirectory without overwriting existing ones"
748
755
try {
You can’t perform that action at this time.
0 commit comments