no-check-if-root
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 18 Oct 2020 08:33:19 +0000 (09:33 +0100)
committerRene Engelhard <rene@debian.org>
Sun, 18 Oct 2020 08:33:19 +0000 (09:33 +0100)
Gbp-Pq: Name no-check-if-root.diff

Makefile.in

index 6af416b8a2f931d47ec425e9e90da764c198a93b..aba1c0649da5e98b34d2f6a762410c82e5564e92 100644 (file)
@@ -58,14 +58,6 @@ else # MAKE_RESTARTS
 
 .DEFAULT_GOAL := build
 
-check-if-root:
-       @if test ! `uname` = 'Haiku' -a `id -u` = 0 && ! grep -q 'lxc\|docker' /proc/self/cgroup && ! grep -q 'libpod_parent' /proc/self/cgroup; then \
-               echo; \
-               echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
-               echo; \
-               exit 1; \
-       fi
-
 gb_Side ?= host
 
 include $(BUILDDIR)/config_$(gb_Side).mk
@@ -268,7 +260,7 @@ endif
 #
 # Bootstrap
 #
-bootstrap: check-if-root compilerplugins
+bootstrap: compilerplugins
 
 #
 # Build