From efc7edc67a5c2430dddd889f543932abf5c1e3a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rub=C3=A9n=20Rodr=C3=ADguez?= <ruben@trisquel.info>
Date: Wed, 18 Jun 2014 05:08:07 +0200
Subject: [PATCH] Updated base-files, fixes #11841

---
 helpers/make-base-files | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/helpers/make-base-files b/helpers/make-base-files
index 31f92acb..6b5cc089 100644
--- a/helpers/make-base-files
+++ b/helpers/make-base-files
@@ -17,11 +17,11 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=1
+VERSION=2
 
 . ./config
 
-RELEASE=$REVISION
+CODENAMECAPS=$(echo $CODENAME | /bin/sed -e "s/\b\(.\)/\u\1/g")
 
 cat << EOF > debian/update-motd.d/01-banner
 #!/bin/sh
@@ -81,19 +81,35 @@ fi
 EOF
 
 cat > etc/issue <<EOF
-Trisquel GNU/Linux $RELEASE \n \l
+Trisquel GNU/Linux $REVISION \n \l
 
 EOF
 
 cat > etc/issue.net <<EOF
-Trisquel GNU/Linux $RELEASE
+Trisquel GNU/Linux $REVISION
 EOF
 
 cat > etc/lsb-release <<EOF
 DISTRIB_ID=Trisquel
-DISTRIB_RELEASE=$RELEASE
+DISTRIB_RELEASE=$REVISION
 DISTRIB_CODENAME=$CODENAME
-DISTRIB_DESCRIPTION="Trisquel $RELEASE"
+<<<<<<< HEAD
+DISTRIB_DESCRIPTION="Trisquel $REVISION"
+=======
+DISTRIB_DESCRIPTION="Trisquel GNU/Linux $REVISION, $CODENAMECAPS"
+EOF
+
+cat > etc/os-release <<EOF
+NAME="Trisquel GNU/Linux"
+VERSION="$REVISION, $CODENAMECAPS"
+ID=trisquel
+ID_LIKE=debian
+PRETTY_NAME="Trisquel GNU/Linux $CODENAMECAPS ($REVISION)"
+VERSION_ID="$REVISION"
+HOME_URL="https://trisquel.info/"
+SUPPORT_URL="https://trisquel.info/wiki"
+BUG_REPORT_URL="https://trisquel.info/project/issues"
+>>>>>>> d34910d... Updated base-files, fixes #11841
 EOF
 
 cat << EOF > origins/trisquel
-- 
GitLab