Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

kiwix-hotspot: use shutil to find correct bin path. #686

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ark74
Copy link

@Ark74 Ark74 commented Sep 9, 2023

Starting on Ubuntu 22.04

mount.exfat link to binary mount.exfat-fuse no longer exists,

  • exfat-fuse: /sbin/mount.exfat-fuse

Another change is the exfat-utils package now provided by exfatprogs changes binaries location,

  • exfatprogs: /usr/sbin/dump.exfat
  • exfatprogs: /usr/sbin/exfatlabel
  • exfatprogs: /usr/sbin/fsck.exfat
  • exfatprogs: /usr/sbin/mkfs.exfat
  • exfatprogs: /usr/sbin/tune.exfat

So, maybe we can use shutil.which to find the binary path regardless of the version.

@rgaudin
Copy link
Member

rgaudin commented Sep 9, 2023

Thank you @Ark74 ; we're working on a new (command-line only for now) version of the tool and I can't quite commit the time to test your PR and make a new release. I'll come back to this later.

@Ark74
Copy link
Author

Ark74 commented Sep 9, 2023

No problem, thanks for taking the time to mention it.

@stale
Copy link

stale bot commented Sep 16, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label Sep 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants