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

[PATCH 1/2] Use upload suite as origin to udebs



---
 debian/changelog |    1 +
 debian/rules     |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5a53ac8..cb9c975 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -90,6 +90,7 @@ debian-installer (2011xxxx) UNRELEASED; urgency=low
 
   [ Otavio Salvador ]
   * Update Linux kernel to 3.0.0-1
+  * Use upload suite as origin to udebs
 
  -- Robert Millan <rmh@debian.org>  Fri, 15 Jul 2011 23:34:48 +0200
 
diff --git a/debian/rules b/debian/rules
index a434c5f..a659a5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,12 @@ USE_UDEBS_FROM=unstable
 TRANSSTATUS=
 BOOTMENU_BEEP=n
 else
-USE_UDEBS_FROM=wheezy
+USE_UDEBS_FROM=$(SUITE)
+ifeq (,$(filter stable wheezy stable-proposed-updates wheezy-proposed-updates,${SUITE}))
 USE_PROPOSED_UPDATES=0
+else
+USE_PROPOSED_UPDATES=1
+endif
 TRANSSTATUS=translation-status
 BOOTMENU_BEEP=y
 endif
-- 
1.7.5.4


Reply to: