Codebase list ddupdate / ac4517a
debian: patch installation paths during build, not postinst. Alec Leamas 3 years ago
3 changed file(s) with 3 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
+0
-3
debian/install less more
0 #!/usr/bin/dh-exec
1
2 debian/ddupdate/usr/lib/python3.8/dist-packages/ddupdate/install.conf => /usr/lib/python3/dist-packages/ddupdate/install.conf.in
+0
-10
debian/postinst less more
0 #!/bin/sh
1 set -e
2
3 sed -e 's|=.*/usr|= /usr|' \
4 < /usr/lib/python3/dist-packages/ddupdate/install.conf.in \
5 > /usr/lib/python3/dist-packages/ddupdate/install.conf || :
6
7 #DEBHELPER#
8 exit 0
9
00 #!/usr/bin/make -f
11
22 export PYBUILD_NAME=ddupdate
3 export PYBUILD_BEFORE_BUILD=echo INSTALLPATH: {destdir}/{install_dir}
4 export PYBUILD_AFTER_INSTALL= \
5 sed -i 's|=.*/usr|= /usr|' {destdir}{install_dir}/ddupdate/install.conf
36
47 %:
58 dh $@ --with python3 --buildsystem=pybuild