[ostree] install.sh: Default to pulling from http://ostree.gnome.org/repo



commit f14ea4b2bf06b35d24a2a93f31310c100e1f7b0b
Author: Colin Walters <walters verbum org>
Date:   Thu Feb 23 23:53:30 2012 -0500

    install.sh: Default to pulling from http://ostree.gnome.org/repo

 gnomeos/yocto/gnomeos-install.sh |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/gnomeos/yocto/gnomeos-install.sh b/gnomeos/yocto/gnomeos-install.sh
index 08832cb..42825af 100755
--- a/gnomeos/yocto/gnomeos-install.sh
+++ b/gnomeos/yocto/gnomeos-install.sh
@@ -46,14 +46,8 @@ if ! test -d /ostree/repo/objects; then
     $SRCDIR/ostree-setup.sh /ostree
 fi
 
-#ostree pull http://ostree.gnome.org/3.4/repo gnomeos-3.4-i686-{runtime,devel}
-if ! test -f /ostree/repo/refs/heads/gnomeos-3.4-i686-runtime; then
-    cat <<EOF
-You must get a repo from somewhere...e.g.:
- cd /ostree && rsync --progress -ave ssh master.gnome.org:/home/users/walters/ostree/repo .
-EOF
-    exit 1
-fi
+ostree --repo=repo remote add origin http://ostree.gnome.org/repo
+ostree-pull --repo=repo origin gnomeos-3.4-i686-{runtime,devel}
 
 uname=$(uname -r)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]