postgresql-common: add trisquel to supported distros
This commit is contained in:
parent
6e15dde5cb
commit
ecd5d04633
2 changed files with 67 additions and 0 deletions
|
|
@ -0,0 +1,38 @@
|
||||||
|
--- debian/supported-versions 2013-10-21 23:13:52.000000000 +0200
|
||||||
|
+++ debian/supported-versions.trisquel 2015-01-11 17:57:00.020523090 +0100
|
||||||
|
@@ -67,6 +67,9 @@
|
||||||
|
[dD]ebian)
|
||||||
|
debian "$RELEASE"
|
||||||
|
;;
|
||||||
|
+ [tT]risquel)
|
||||||
|
+ trisquel "$RELEASE"
|
||||||
|
+ ;;
|
||||||
|
*)
|
||||||
|
echo "supported_versions: WARNING! Unknown distribution: $DISTRO" >&2
|
||||||
|
echo "Please submit this as a bug report to your distribution." >&2
|
||||||
|
@@ -120,6 +123,25 @@
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
+trisquel() {
|
||||||
|
+ case "$1" in
|
||||||
|
+ 4.0*) # Taranis
|
||||||
|
+ /bin/echo -e "8.4"
|
||||||
|
+ ;;
|
||||||
|
+ 6.0*) # Toutatis
|
||||||
|
+ /bin/echo -e "9.1"
|
||||||
|
+ ;;
|
||||||
|
+ 7.0*) # Belenos
|
||||||
|
+ /bin/echo -e "9.3"
|
||||||
|
+ ;;
|
||||||
|
+ *)
|
||||||
|
+ echo "supported_versions: WARNING: Unknown Trisquel release: $1" >&2
|
||||||
|
+ /bin/echo -e "$DEFAULT"
|
||||||
|
+ ;;
|
||||||
|
+ esac
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
debian_backports() {
|
||||||
|
case "$1" in
|
||||||
|
5.0*) # Lenny
|
||||||
29
helpers/make-postgresql-common
Normal file
29
helpers/make-postgresql-common
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2015 Santiago Rodríguez <santi@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
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
#
|
||||||
|
|
||||||
|
VERSION=1
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
patch -p0 < $DATA/supported-versions-trisquel.patch
|
||||||
|
|
||||||
|
changelog "Imported into Trisquel"
|
||||||
|
|
||||||
|
|
||||||
|
compile
|
||||||
Loading…
Add table
Add a link
Reference in a new issue