From 8293cfde792a397f73f2adf8aa4daa8ab1d93323 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Thu, 15 Jan 2015 00:07:45 +0100
Subject: [PATCH] Descriptions should not change based on the build arch,
 descriptions rebranded for Linux-libre

---
 helpers/make-linux | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/helpers/make-linux b/helpers/make-linux
index 0c428772..b1d7666f 100644
--- a/helpers/make-linux
+++ b/helpers/make-linux
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#    Copyright (C) 2008-2013  Rubén Rodríguez <ruben@trisquel.info>
+#    Copyright (C) 2008-2015  Rubén Rodríguez <ruben@trisquel.info>
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -43,7 +43,11 @@ sed s/family=ubuntu/family=trisquel/ -i debian/rules.d/0-common-vars.mk
 
 rename s/ubuntu/trisquel/ debian.*/config/config.common.ubuntu 
 
-sed 's/Linux/Linux-libre/g' debian/control debian/control.stub -i
+#sed 's/Linux/Linux-libre/g' debian/control debian/control.stub -i
+find debian* -type f -name *control* -exec sed 's/ with Ubuntu patches//; s/Linux/Linux-libre/g' -i {} \;
+
+# Descriptions should not change based on the build arch
+sed 's/on DESC//; s/PKGVER on/PKGVER/; /^ DESC.$/d;' debian*/control.d/flavour-control.stub -i
 
 sed '/^firmware/d' ./debian*/abi/*/fwinfo -i
 echo > ./debian.master/d-i/firmware/nic-modules
-- 
GitLab