Skip to content

Commit 5da14ae

Browse files
committed
fixed: active file not always updated by a patched file - SILENTLY !
1 parent 0579a14 commit 5da14ae

6 files changed

Lines changed: 10 additions & 7 deletions

File tree

HelperResources/CommonResources

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,17 +1589,18 @@ if [ $scriptAction != 'UNINSTALL' ]; then
15891589
patchErrors=()
15901590
for activeFile in ${fileListPatched[@]}; do
15911591
baseName=$( basename $activeFile )
1592-
tempActiveFile="$tempFileDir/$baseName"
1592+
tempActiveFile="$tempFileDir/$baseName.tmp"
1593+
forwardPatched="$tempFileDir/$baseName.patchedForInstall"
15931594
currentPatchFile="$tempFileDir/$baseName.currentPatch"
15941595
previousPatchFile="$previousPatchesDir/$baseName.patch"
15951596

1596-
rm -f "$currentPatchFile"
1597-
15981597
if ! [ -e "$activeFile" ] ; then
15991598
logMessage "no active file $activeFile - skipping patch"
16001599
continue
16011600
fi
16021601

1602+
rm -f "$currentPatchFile"
1603+
16031604
# check for this and other packages in .package list
16041605
packageList="$activeFile.package"
16051606
thisPackageInList=false
@@ -1656,7 +1657,6 @@ if [ $scriptAction != 'UNINSTALL' ]; then
16561657
# the first one that successfully creates a forward AND reverse patch is used
16571658
# .patchedForInstall provides the patched file for updateActiveFile
16581659
patchFiles=( $( ls "$patchSourceDir/$baseName"*.patch ) )
1659-
forwardPatched="$tempActiveFile.patchedForInstall"
16601660
for patchFile in ${patchFiles[@]};do
16611661
if $patch --forward -o "$forwardPatched" "$tempActiveFile" "$patchFile" &> /dev/null ; then
16621662
# forward patch succeeded - test reverse patch (both must succeed)

blindInstall/SetupHelperVersion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v8.28
1+
v8.29

changes

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
v8.28: (pending)
1+
v8.29:
2+
fixed: active file not always updated by a patched file - SILENTLY !
3+
4+
v8.28:
25
remove venus-os_ngrok from default package list
36
first compatible version is now v3.10
47

venus-data-UninstallPackages.tgz

-1 Bytes
Binary file not shown.

venus-data.tgz

25 Bytes
Binary file not shown.

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v8.28
1+
v8.29

0 commit comments

Comments
 (0)