Skip to content

[Bug] files paths in the patch not always correctly parsed #445

@robang74

Description

@robang74

SailFish OS version: 4.5.0.9
Patchmanger Version: 3.2.9
Hardware: Xperia 10 II

BUG DESCRIPTION

Referring to this patch (untested code):

this is the output in the log when the patch is installed:

void PatchManagerObject::doRefreshPatchList() Collecting info for:  "zram-swap-resize-script"
void PatchManagerObject::doRefreshPatchList() Possible conflict in:  "/usr/bin/zram_swap_resize.sh"

and this the same when it is not installed:

void PatchManagerObject::doRefreshPatchList() Collecting info for:  "zram-swap-resize-script"
void PatchManagerObject::doRefreshPatchList() Possible conflict in:  "/zram_swap_resize.sh"

in the second case the patch files paths parsing is wrong, unless I created that file which does not exist by default.

STEPS TO REPRODUCE

  1. download from Web Catalog the patch above
  2. switch the Patch Manager to developer mode
  3. then enable and disable the patch
  4. check the Patch Manager log

ADDITIONAL INFORMATION

Proposed bug-fix

Let me know and I will do a pull/merge request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions