mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 22:50:12 -05:00
rules: Modify python scripts to use python2.
This commit is contained in:
1 parent
f046b83d62
commit
e4a86ba31d
2 files changed
+6
No files matched your search
Vendored
+1
@@ -13,6 +13,7 @@ freeipa (4.7.0~pre1+git20180404-1) UNRELEASED; urgency=medium
|
||||
* enable-mod-nss-during-setup.diff: Dropped, not needed anymore.
|
||||
* server.postinst/postrm: Enable/disable mod_ssl.
|
||||
* control: Bump 389-ds-base dependency.
|
||||
* rules: Modify python scripts to use python2.
|
||||
|
||||
-- Timo Aaltonen <tjaalton@debian.org> Fri, 06 Apr 2018 16:18:42 +0300
|
||||
|
||||
|
||||
Vendored
+5
@@ -87,6 +87,11 @@ endif
|
||||
# remove files which are useful only for make uninstall
|
||||
find $(CURDIR)/debian/tmp -wholename '*/dist-packages/*/install_files.txt' -exec rm '{}' \;
|
||||
|
||||
# we still need to use python2
|
||||
find debian/tmp ! -name '*.pyc' -a ! -name '*.pyo' -a \
|
||||
-type f -exec grep -qsm1 '^#!.*\bpython' {} \; \
|
||||
-exec sed -i -e '1 s|^#!.*\bpython[^ ]*|#!/usr/bin/python|' {} \;
|
||||
|
||||
override_dh_missing:
|
||||
dh_missing --fail-missing
|
||||
|
||||
|
||||
Reference in new issue
Block a user