From: Debian LibreOffice Maintainers Date: Fri, 1 Jul 2022 19:51:28 +0000 (+0100) Subject: no-check-if-root X-Git-Tag: archive/raspbian/1%7.3.5_rc1-1+rpi1^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c7a85baa0c4b0026fcc8a73a7c974acae0c7e6c5;p=libreoffice.git no-check-if-root Gbp-Pq: Name no-check-if-root.diff --- diff --git a/Makefile.in b/Makefile.in index a5ae689b614..dc7a831e84c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -58,18 +58,6 @@ else # MAKE_RESTARTS .DEFAULT_GOAL := build -# Nested test is to check if the systemd-detect-virt command doesn't exist or it reports we're not -# in a container: -check-if-root: - @if test ! `uname` = 'Haiku' -a `id -u` = 0; then \ - if test ! -x "$$(command -v systemd-detect-virt)" || ! systemd-detect-virt -c -q; then \ - echo; \ - echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \ - echo; \ - exit 1; \ - fi \ - fi - gb_Side ?= host include $(BUILDDIR)/config_$(gb_Side).mk @@ -276,7 +264,7 @@ endif # # Bootstrap # -bootstrap: check-if-root compilerplugins +bootstrap: compilerplugins # # Build