From: Chris Koeritz Date: Fri, 16 Dec 2016 02:08:21 +0000 (-0500) Subject: dropped specialization for curie; now has space X-Git-Tag: 2.140.90~330 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=79797e49c9a83677f18fc4cec1ba949426adbfe7;p=feisty_meow.git dropped specialization for curie; now has space --- diff --git a/customize/fred/scripts/synch_from_surya.sh b/customize/fred/scripts/synch_from_surya.sh index ceac4bfe..d1864369 100644 --- a/customize/fred/scripts/synch_from_surya.sh +++ b/customize/fred/scripts/synch_from_surya.sh @@ -1,16 +1,6 @@ +#!/bin/bash -# curie is the source for musix and also has limited space for walruses, -# so we check for that being our host here. -hostname -f 2>&1 | grep -i curie &>/dev/null -if [ $? -eq 0 ]; then - # this name has curie in it, so we're probably on there. - echo "Updating with special case for curie from surya" - rsync -avz surya:/z/walrus/media/pictures/* /z/walrus/media/pictures/ - rsync -avz surya:/z/walrus/media/sounds/* /z/walrus/media/sounds/ -else - echo "Updating standard host from surya" - rsync -avz surya:/z/walrus/* /z/walrus/ - rsync -avz surya:/z/musix/* /z/musix/ -fi - +echo "Updating walrus and musix from surya" +rsync -avz surya:/z/walrus/* /z/walrus/ +rsync -avz surya:/z/musix/* /z/musix/