Skip to content
Snippets Groups Projects
Commit 13a07ea7 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

dh_python2: add {/usr,}/sbin to the list of directories with checked shebangs

parent 1abc042d
No related branches found
Tags debian/2.6.6-10
No related merge requests found
python-defaults (2.6.5-10) UNRELEASED; urgency=low
* dh_python2: add --depend command line option (use it if requires.txt
doesn't contain dependency that package needs)
* dh_python2:
- add --depend command line option (use it if requires.txt
doesn't contain dependency that package needs)
- add {/usr,}/sbin to the list of directories with checked shebangs
-- Piotr Ożarowski <piotr@debian.org> Wed, 21 Jul 2010 21:10:19 +0200
......
......@@ -304,7 +304,8 @@ def scan(package, dname=None):
break
else: # i.e. not public_dir and not private_dir
if len(root.split('/', 6)) < 6 and (\
root.endswith('/bin') or root.endswith('/usr/games')):
root.endswith('/sbin') or root.endswith('/bin') or\
root.endswith('/usr/games')):
# /bin or /usr/bin or /usr/games
bin_dir = root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment