From 7b743f10f695602662e067d9a7994c5265970073 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 25 Oct 2015 13:45:36 +0000 Subject: update_jdn: stop doing symlink dances for the pbuilder build directory, instead make use of the BUILDPLACE conf entry --- update_jdn.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/update_jdn.sh b/update_jdn.sh index df07c718..ecf500f6 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -50,7 +50,6 @@ for user in helmut holger mattia lunar ; do done sudo mkdir -p /srv/workspace -[ -d /srv/workspace/pbuilder ] || sudo mkdir -p /srv/workspace/pbuilder [ -d /srv/schroots ] || sudo mkdir -p /srv/schroots [ -h /chroots ] || sudo ln -s /srv/workspace/chroots /chroots [ -h /schroots ] || sudo ln -s /srv/schroots /schroots @@ -103,15 +102,6 @@ fi # only on Debian systems if [ -f /etc/debian_version ] ; then - if [ ! -h /var/cache/pbuilder/build ] ; then - sudo rmdir /var/cache/pbuilder/build || sudo rm -f /var/cache/pbuilder/build - if [ -e /var/cache/pbuilder/build ] ; then - explain "/var/cache/pbuilder/build could not be cleared." - else - sudo ln -s /srv/workspace/pbuilder /var/cache/pbuilder/build - fi - fi - # # install packages we need # -- cgit v1.2.3-70-g09d2