From 0ccff092d9cd1572b2def04f05ddd017e00438f4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 14 Dec 2012 12:15:08 +0100 Subject: [PATCH] delete link before setting it --- liveboot_testdeploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liveboot_testdeploy.sh b/liveboot_testdeploy.sh index f87c6e2..22e2536 100755 --- a/liveboot_testdeploy.sh +++ b/liveboot_testdeploy.sh @@ -45,8 +45,9 @@ fi # create pending-approval link and rsync again # cd /srv/mirror/liveboot +rm -f pending-approval ln -sfv $(basename $SOURCE_DIR) pending-approval -echo "pending-approval link creating, pointing to $SOURCE_DIR" +echo "pending-approval link created, pointing to $SOURCE_DIR" $(dirname $0)/liveboot_rsync.sh # -- 2.39.5