Bug 618357 - Fix instances of #!/usr/bin/env python
Fix instances of #!/usr/bin/env python
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-26 14:36 EDT by Jiri Popelka
Modified: 2010-08-26 07:45 EDT (History)
2 users (show)

See Also:
Fixed In Version: system-config-printer-1.2.4-1.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-07-28 12:15:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch (2.05 KB, patch)
2010-07-26 14:36 EDT, Jiri Popelka
no flags Details | Diff

  None (edit)
Description Jiri Popelka 2010-07-26 14:36:01 EDT
Created attachment 434490 [details]
patch

There are several executables in system-config-printer that contain the shebang line: #!/usr/bin/env python

However, this makes it difficult to install alternative versions of Python on the system. If a user wishes e.g. to install python 3 on the system, and have a /usr/local/python in her PATH, this will break these executables.

These system executables are expecting to use the system python, and thus should use: #! /usr/bin/python

Note You need to log in before you can comment on or make changes to this bug.