Page 2 of 2

missing pydoc module

Posted: 16 Jun 2024, 23:28
by vinnie
:good:

Okay, I tried it and it works.
I deleted everything but "/usr/lib64/python3.9/pydoc" by hand and then repackaged with dir2xzm.
I didn't quite understand what it was for but the removepkg command anyway seems not to be there and wasn't needed.
Thanks

missing pydoc module

Posted: 17 Jun 2024, 01:56
by ncmprhnsbl
vinnie wrote:
16 Jun 2024, 23:28
I didn't quite understand what it was for but the removepkg command anyway seems not to be there and wasn't needed.
for future reference: removepkg is in /sbin so is only in root's PATH (so if you try to use it as guest, it won't be found)
and on a general note when building modules be sure to have the correct ownerships and permissions for files/directories.

missing pydoc module

Posted: 17 Jun 2024, 04:08
by jjr
[o/t]

missing pydoc module

Posted: 17 Jun 2024, 06:19
by ncmprhnsbl
jjr wrote:
17 Jun 2024, 04:08
Long post, sorry. I just got triggered and worry a little.
:D np
if you look back to my post, i edited it(after you saw it), adding a revision with a similar conclusion to you, with the opposite expansion:

Code: Select all

[ "${1##*.}" != "xzm" ]
which strips everything but the .extension off

missing pydoc module

Posted: 17 Jun 2024, 07:06
by jjr
ncmprhnsbl wrote:
17 Jun 2024, 06:19
jjr wrote:
17 Jun 2024, 04:08
Long post, sorry. I just got triggered and worry a little.
:D np
if you look back to my post, i edited it(after you saw it), adding a revision with a similar conclusion to you, with the opposite expansion:

Code: Select all

[ "${1##*.}" != "xzm" ]
which strips everything but the .extension off
Ah, nice :thumbup:
glad I was being useless :alone: