mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user