From 2d015b1b3565c335e17c105434cc031b316543dc Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 9 Aug 2015 10:29:19 +0200 Subject: make /schroots a link to /srv/schroots --- update_jdn.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_jdn.sh b/update_jdn.sh index e0838286..6f0e58a7 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -42,7 +42,9 @@ 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 if [ "$HOSTNAME" = "jenkins" ] ; then if ! grep -q '^tmpfs\s\+/srv/workspace\s' /etc/fstab; then -- cgit v1.2.3-70-g09d2