]> err.no Git - dotfiles/commitdiff
Do not check out all on hosts without my ssh keys
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 22 Nov 2007 23:35:00 +0000 (23:35 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 22 Nov 2007 23:35:00 +0000 (23:35 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@1073 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

mrconfig

index 8e494062eb7b2f4388fa9e7328f08ea6af3041f5..b70059c8c1582335483f317d50fa7561a5a07763 100644 (file)
--- a/mrconfig
+++ b/mrconfig
@@ -1,3 +1,14 @@
+[DEFAULT]
+lib =
+    has_ssh_key() {
+              case "$(hostname)" in
+                   xoog|golem|thosu)
+                       return 0
+                   ;;
+              esac
+              return 1
+              }
+
 [src/mr]
 checkout = git clone 'git://git.kitenet.net/mr' 'mr'
 
@@ -9,24 +20,34 @@ checkout = svn co svn+ssh://svn.err.no/svn/tfheen/trunk/dotfiles dotfiles
 
 [mobile/git/ume-config-common]
 checkout = git clone git+ssh://moblin.org/home/repos/projects/ume-config-common ume-config-common
+skip = ! has_ssh_key
 
 [mobile/git/samsung-q1-ultra-config]
 checkout = git clone git+ssh://moblin.org/home/repos/projects/samsung-q1-ultra-config samsung-q1-ultra-config
+skip = ! has_ssh_key
 
 [mobile/git/moblin-image-creator]
 checkout = git clone git+ssh://moblin.org/home/repos/tools/moblin-image-creator.git moblin-image-creator
+skip = ! has_ssh_key
+
 
 [mobile/git/mobile-basic-flash]
 checkout = git clone git+ssh://moblin.org/home/repos/projects/mobile-basic-flash.git/ mobile-basic-flash
+skip = ! has_ssh_key
+
 
 [mobile/git/gstreamer-dbus-media-service]
 checkout = git clone git+ssh://moblin.org/home/repos/projects/gstreamer-dbus-media-service.git gstreamer-dbus-media-service
+skip = ! has_ssh_key
+
 
 [mobile/git/crown-beach-config]
 checkout = git clone git+ssh://moblin.org/home/repos/projects/crown-beach-config.git crown-beach-config
+skip = ! has_ssh_key
 
 [mobile/git/marquee-plugins]
 checkout = git clone git+ssh://moblin.org/home/repos/projects/marquee-plugins.git marquee-plugins
+skip = ! has_ssh_key
 
 [src/evolution]
 checkout = svn co 'http://svn.gnome.org/svn/evolution/trunk' 'evolution'