dust icon indicating copy to clipboard operation
dust copied to clipboard

Manual page and completions missing in debian package

Open johannesst opened this issue 1 year ago • 2 comments

Hello,

at the moment the debian packages doesn't install the manual page or completion files.

It would be a nice to have, to get them with the package.

Best regards, Johannes

johannesst avatar Aug 19 '24 20:08 johannesst

Happy to include them. Do you know how ?

bootandy avatar Aug 21 '24 17:08 bootandy

@johannesst Hello, I’m happy to tackle this issue. When I run the command deb-get install du-dust on my local Debian virtual machine and install Dust, I indeed don’t find the Dust man pages or any prompt information in bash. 截图 2024-08-24 22-16-32 截图 2024-08-24 22-17-11 截图 2024-08-24 22-17-45

From the installation logs, I did not see any information related to configuring man-db.

After adding man-page and completions/dust.bash configurations under package.metadata.deb.assets in Cargo.toml, re-packaging with cargo deb, and re-installing with sudo dpkg -i ./target/debian/du-dust_1.1.1-1_amd64.deb, both man dust and the bash prompt for Dust are functioning correctly again. image image 截图 2024-08-25 09-46-33

For your situation, you can try the modifications I suggested above and then repackage locally and reinstall to see if the issue is resolved. Alternatively, you might wait for the next release of the Debian du-dust package to see if the problem is fixed. I hope this helps!

wugeer avatar Aug 25 '24 02:08 wugeer

Thank you @wugeer

bootandy avatar Sep 03 '24 20:09 bootandy