From a41cfa6b037d2784408261952149e75e17e35cef Mon Sep 17 00:00:00 2001 From: Marjan Schiller Date: Tue, 11 Jun 2013 13:35:01 +0200 Subject: [PATCH] Changed link creation. --- liveboot_set_image.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/liveboot_set_image.sh b/liveboot_set_image.sh index 31d243d..3799450 100755 --- a/liveboot_set_image.sh +++ b/liveboot_set_image.sh @@ -31,13 +31,9 @@ else fi # -# create pending-approval link and rsync again +# create pending-approval link # -cd /srv/mirror/liveboot -rm -f pending-approval -ln -sfv $(basename $SOURCE_DIR) pending-approval -echo "pending-approval link created, pointing to $SOURCE_DIR" - +ssh -oStrictHostKeyChecking=no riserver "rm -f /srv/mirror/liveboot/pending-approval; ln -sfv $(basename $SOURCE_DIR) /srv/mirror/liveboot/pending-approval" # # finish # -- 2.39.5