Skip to content

[Bug] broken symlink for .desktop #44

@zaza42

Description

@zaza42

Description

findex skips a valid .desktop file if found a broken symlink with similar name

Do you already have Findex Installed? (If yes, how did you install?)

building from findex-0.8.0.tar.gz

To Reproduce

There is a valid /usr/share/applications/chromium.desktop and a broken symlink at ~/.local/share/applications/chromium.desktop.
findex doesn't find anything "chromium" until I remove the broken symlink.

Expected behavior

Just ignore the broken symlink and use the valid chromium.desktop.

Screenshots

no need for them

System information

  • Distro: Debian sid/unstable
  • Findex Version: 0.8.0

Output of rustc --version --verbose (if you compiled findex on your machine):

rustc 1.70.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.70.0
LLVM version: 16.0.6

Log/Output (if applicable)

nothing relevant

Additional context

I have to restart findex-daemon after deleting the broken symlink.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions