Alien/Package/Deb.pm: Do not fail when dh_usrlocal complains

When dh_usrlocal returns nonzero, continue and print a warning
information. This allows the generated deb package to install
files under /usr/local/.
This commit is contained in:
Boyuan Yang
2021-08-22 01:13:23 -04:00
parent 80877786d3
commit 3e46c56693

View File

@@ -496,6 +496,9 @@ override_dh_strip:
# This has been known to break on some wacky binaries.
# dh_strip
override_dh_usrlocal:
-dh_usrlocal || printf "Your package seems to be installing files into /usr/local/, which could be buggy. Will continue anyway.\\n"
override_dh_fixperms:
$fixpermscomment dh_fixperms