Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61935 - [tldr] tldr.py script assumes /usr/bin/python is python3

Attached to Project: Community Packages
Opened by Carlos Ferreira (Claymore) - Thursday, 07 March 2019, 10:51 GMT
Last edited by Allan McRae (Allan) - Thursday, 07 March 2019, 10:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
/usr/bin/tldr.py program hashbang is using /usr/bin/python and assuming that it points to python3.
This causes problems if the user redirects /usr/bin/python to python2.x

A better approach is to use the following hashbang
#!/usr/bin/env python3

Additional info:
* package version -> 0.4.4-4

Steps to reproduce:
Redirect the symlink /usr/bin/python to /usr/bin/python2

This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 07 March 2019, 10:52 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Unsupported configuration.

Loading...