diff -urp debootstrap.orig/Makefile debootstrap/Makefile
--- debootstrap.orig/Makefile 2007-11-17 19:32:40.000000000 +0100
+++ debootstrap/Makefile 2007-11-17 19:33:52.000000000 +0100
@@ -14,9 +14,9 @@ clean:
DSDIR=$(DESTDIR)/usr/share/debootstrap
install:
# Dirs are created by dh_installdirs
- install -o root -g root -m 0644 scripts/debian/* $(DSDIR)/scripts/
- install -o root -g root -m 0644 scripts/ubuntu/* $(DSDIR)/scripts/
- install -o root -g root -m 0644 functions $(DSDIR)/
+ install -p -m 0644 scripts/debian/* $(DSDIR)/scripts/
+ install -p -m 0644 scripts/ubuntu/* $(DSDIR)/scripts/
+ install -p -m 0644 functions $(DSDIR)/
# no special script for etch anymore
ln -s sid $(DSDIR)/scripts/etch
@@ -25,10 +25,9 @@ install:
ln -s gutsy $(DSDIR)/scripts/hardy
sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
- chown root:root $(DESTDIR)/usr/sbin/debootstrap
chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
- install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/
+ install -m 0644 devices.tar.gz $(DSDIR)/
devices.tar.gz:
rm -rf dev