X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fbyhand-di;h=70faceb63cfec40a53a0089508729d258cc1be4a;hb=26127c32273ec9aa520aff834993ebf5504dfdc1;hp=0a004f3899956e22e4f0580dc2f56c126b945879;hpb=0429d8215de9128ed7074b98686660dfb65e65d0;p=dak.git diff --git a/scripts/debian/byhand-di b/scripts/debian/byhand-di index 0a004f38..70faceb6 100755 --- a/scripts/debian/byhand-di +++ b/scripts/debian/byhand-di @@ -37,7 +37,7 @@ case $SUITE in esac # This must end with / -TARGET="/srv/ftp.debian.org/ftp/dists/$SUITE/main/installer-$ARCH/" +TARGET="/srv/ftp-master.debian.org/ftp/dists/$SUITE/main/installer-$ARCH/" # Check validity of the target directory # This could fail, for example for new architectures; doing @@ -95,6 +95,10 @@ mv "$TMPDIR/installer-$ARCH/current" "$TARGET" find "$TARGET/$VERSION" -type d -exec chmod 755 {} + find "$TARGET/$VERSION" -type f -exec chmod 644 {} + +# Make sure nothing symlinks outside of the ftpdir +# Shouldnt happen, but better be sure. +symlinks -d -r /srv/ftp-master.debian.org/ftp + trap - EXIT cleanup