X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcustomize%2Ffred%2Fscripts%2Fupdate_soapbox.sh;h=869a1deb0882bb778a59871923b92cb5367984da;hb=5ffafdd79e0946e5eaadb429c3ee4e30881ce5b5;hp=ad44773d4ce1d409db11f740b15c133bc562187b;hpb=58c5e2abe62cb86011c4cade7fc42e88a8ef1e8d;p=feisty_meow.git diff --git a/scripts/customize/fred/scripts/update_soapbox.sh b/scripts/customize/fred/scripts/update_soapbox.sh index ad44773d..869a1deb 100644 --- a/scripts/customize/fred/scripts/update_soapbox.sh +++ b/scripts/customize/fred/scripts/update_soapbox.sh @@ -29,46 +29,19 @@ if [ $? -ne 0 ]; then exit 1 fi -sep - -echo synching walrus... -rsync -av /z/walrus/* /media/fred/soapboxdrive/walrus/ -if [ $? -ne 0 ]; then - echo The walrus sync failed. - exit 1 -fi - -sep - -echo synching musix... -rsync -av /z/musix/* /media/fred/soapboxdrive/musix/ -if [ $? -ne 0 ]; then - echo The musix sync failed. - exit 1 -fi - -sep - -echo synching basement... -rsync -av /z/basement/* /media/fred/soapboxdrive/basement/ -if [ $? -ne 0 ]; then - echo The basement sync failed. - exit 1 -fi - -sep - -echo synching imaginations... -rsync -av /z/imaginations/* /media/fred/soapboxdrive/imaginations/ -if [ $? -ne 0 ]; then - echo The imaginations sync failed. - exit 1 -fi +for currdir in basement imaginations musix walrus; do + sep + echo "synching $currdir..." + netcp /z/$currdir/* /media/fred/soapboxdrive/$currdir/ + if [ $? -ne 0 ]; then + echo "The $currdir sync failed." + exit 1 + fi +done sep -echo synching musix... -echo getting latest fred codes... +echo getting latest fred repositories... pushd /media/fred/soapboxdrive get_source extra_brain