Blob Blame History Raw
From 48e75bced4727a945437dbc2a5b755c93d5e4829 Mon Sep 17 00:00:00 2001
From: Jan Vcelak <jvcelak@fedoraproject.org>
Date: Wed, 17 Sep 2014 19:30:25 +0200
Subject: [PATCH 1/3] fix installation without fakeroot

---
 Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 6f70f35..87b9e35 100644
--- a/Makefile
+++ b/Makefile
@@ -19,14 +19,13 @@ install:
 	mkdir -p $(DESTDIR)/usr/sbin
 
 	cp -a scripts/* $(DSDIR)/scripts/
-	install -o root -g root -m 0644 functions $(DSDIR)/
+	install -m 0644 functions $(DSDIR)/
 
 	sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
-	chown root:root $(DESTDIR)/usr/sbin/debootstrap
 	chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
 
 ifeq ($(shell uname),Linux)
-	install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/
+	install -m 0644 devices.tar.gz $(DSDIR)/
 endif
 
 devices.tar.gz:
-- 
1.9.3