Updated base-files, fixes #11841
This commit is contained in:
parent
8f121617fe
commit
efc7edc67a
1 changed files with 22 additions and 6 deletions
|
|
@ -17,11 +17,11 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=1
|
VERSION=2
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
RELEASE=$REVISION
|
CODENAMECAPS=$(echo $CODENAME | /bin/sed -e "s/\b\(.\)/\u\1/g")
|
||||||
|
|
||||||
cat << EOF > debian/update-motd.d/01-banner
|
cat << EOF > debian/update-motd.d/01-banner
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
@ -81,19 +81,35 @@ fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat > etc/issue <<EOF
|
cat > etc/issue <<EOF
|
||||||
Trisquel GNU/Linux $RELEASE \n \l
|
Trisquel GNU/Linux $REVISION \n \l
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat > etc/issue.net <<EOF
|
cat > etc/issue.net <<EOF
|
||||||
Trisquel GNU/Linux $RELEASE
|
Trisquel GNU/Linux $REVISION
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat > etc/lsb-release <<EOF
|
cat > etc/lsb-release <<EOF
|
||||||
DISTRIB_ID=Trisquel
|
DISTRIB_ID=Trisquel
|
||||||
DISTRIB_RELEASE=$RELEASE
|
DISTRIB_RELEASE=$REVISION
|
||||||
DISTRIB_CODENAME=$CODENAME
|
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
|
EOF
|
||||||
|
|
||||||
cat << EOF > origins/trisquel
|
cat << EOF > origins/trisquel
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue