cleaning and polishing
[feisty_meow.git] / customizing / fred / scripts / update_musix_on_curie.sh
index 39b420a990e7642ab9a3411e9bcf8d1583a49ef4..cca8325d4ff14bb05b66fb81611885887a808f81 100644 (file)
@@ -1,5 +1,13 @@
 
-#add the goodness around these like the nice updater.
+# this script is meant to be run on curie with our super alpha prime source of music plugged in.
+
+#hmmm: add the goodness around these like the nice updater.
+
+if [[ ! ( $(hostname) =~ .*curie.* ) ]]; then
+  echo this script is only designed to run on curie with the
+  echo fred music prime external disc plugged in.
+  exit 1
+fi
 
 rsync -av /media/fred/fredmusicprime/musix/* /z/musix/
 rsync -avz /z/musix/* surya:/z/musix/