From 52a1f5375728ec9c85851249445eb98a6ece5e96 Mon Sep 17 00:00:00 2001
From: Jay Freeman <saurik@saurik.com>
Date: Tue, 6 May 2008 09:35:34 +0000
Subject: Upgrading to latest repository setup.

git-svn-id: http://svn.telesphoreo.org/trunk@261 514c082c-b64e-11dc-b46d-3d985efe055d
---
 construct.sh | 17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

diff --git a/construct.sh b/construct.sh
index ecfccd457..896785ccb 100755
--- a/construct.sh
+++ b/construct.sh
@@ -31,21 +31,12 @@ for PKG_ARCH in "${PKG_BASE}/arch"/*; do
                 echo "${PKG_FILE}"
             fi
         fi
-    done | gzip -9c >"${PKG_OVER}"
+    done >"${PKG_BASE}/overrides.txt"
 
-    dpkg-scanpackages "link" <(zcat "${PKG_OVER}") | sed -e 's/: link\//: debs\//' >"${PKG_PKGS}"
-    gzip -c "${PKG_PKGS}" >"${PKG_PKGS}.gz"
-    #rm -rf "${PKG_REPO}/debs"
-    #cp -a debs "${PKG_REPO}"
+    dpkg-scanpackages link "${PKG_BASE}/overrides.txt" | sed -e 's/: link\//: debs\//' >"${PKG_PKGS}"
+    rm -f "${PKG_BASE}/overrides.txt"
 
-    cat >"${PKG_REPO}/dists/tangelo/main/binary-${PKG_ARCH}/Release" <<EOF
-Archive: stable
-Version: 1.0r${PKG_RVSN}
-Component: main
-Origin: Jay Freeman (saurik)
-Label: Telesphoreo
-Architecture: ${PKG_ARCH}
-EOF
+    gzip -c "${PKG_PKGS}" >"${PKG_PKGS}.gz"
 done
 
 cd "${PKG_REPO}/dists/tangelo"
-- 
cgit v1.2.3