From: Debian LibreOffice Maintainers Date: Wed, 8 Dec 2021 18:45:20 +0000 (+0000) Subject: no-check-if-root X-Git-Tag: archive/raspbian/1%7.2.4-1+rpi1^2~48 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ddc91f6879cfdd993136bc6cd7574af65363b3bf;p=libreoffice.git no-check-if-root Gbp-Pq: Name no-check-if-root.diff --- diff --git a/Makefile.in b/Makefile.in index f9a2644e569..81b189e3d60 100644 --- a/Makefile.in +++ b/Makefile.in @@ -58,17 +58,6 @@ else # MAKE_RESTARTS .DEFAULT_GOAL := build -check-if-root: - @if test ! `uname` = 'Haiku' -a `id -u` = 0; then \ - # if the systemd-detect-virt command doesn't exist or it reports we're not in a container \ - 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 @@ -274,7 +263,7 @@ endif # # Bootstrap # -bootstrap: check-if-root compilerplugins +bootstrap: compilerplugins # # Build