Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Debian Packaging detection too slow #51

@tuxpoldo

Description

@tuxpoldo

Reported by anton@ryzhov.me

Hello Leo, Mark!

I'm using bt-sync in ubuntu you're build as PPA. Thank you for your work.
But I've mentioned that daemon started too slow on my laptop (HDD, encrypted partition - slow IO).
I've checked up the source and found that you were using dpkg -S to find what package contains file and later checks if it was btsync-user.
dpkg -S btsyncindicator.py works too slow, it has to process lots of data to make answer. You only want to know if btsync-user is installed.
I advice you to check dpkg -s btsync-user (lowercased "s") - it returns 0 exit code if package is installed, nonzero otherwise. Ant works 100 times faster on my system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions