Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
postgresql-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PostgreSQL
postgresql-common
Commits
003dd94c
Commit
003dd94c
authored
6 months ago
by
Christoph Berg
📡
Browse files
Options
Downloads
Patches
Plain Diff
supported-versions: Remove obsolete distribution-detection code.
parent
60fe77b2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+1
-0
1 addition, 0 deletions
debian/changelog
debian/supported-versions
+2
-44
2 additions, 44 deletions
debian/supported-versions
with
3 additions
and
44 deletions
debian/changelog
+
1
−
0
View file @
003dd94c
...
...
@@ -12,6 +12,7 @@ postgresql-common (269) UNRELEASED; urgency=medium
to arch: all as well since the PG build chain isn't cross-build ready yet
anyway.
* Remove postgresql-contrib meta package, provide it from postgresql.
* supported-versions: Remove obsolete distribution-detection code.
-- Christoph Berg <myon@debian.org> Thu, 09 Jan 2025 14:25:18 +0100
...
...
This diff is collapsed.
Click to expand it.
debian/supported-versions
+
2
−
44
View file @
003dd94c
...
...
@@ -37,7 +37,7 @@
# X: consider this version supported
#
# (C) 2005-2016 Martin Pitt <mpitt@debian.org>
# (C) 2012-202
4
Christoph Berg <myon@debian.org>
# (C) 2012-202
5
Christoph Berg <myon@debian.org>
set
-eu
...
...
@@ -46,39 +46,6 @@ DEFAULT="17"
# functions
default
()
{
.
/etc/os-release
case
"
$ID
"
in
[
uU]buntu
)
ubuntu
;;
[
dD]ebian
)
debian
;;
*
)
echo
"supported-versions: WARNING! Unknown distribution ID in /etc/os-release:
$ID
"
>
&2
if
echo
$ID_LIKE
|
grep
-E
'(^| )ubuntu($| )'
>
/dev/null
;
then
echo
"ubuntu found in ID_LIKE, treating as Ubuntu"
>
&2
ubuntu
elif
echo
$ID_LIKE
|
grep
-E
'(^| )debian($| )'
>
/dev/null
;
then
echo
"debian found in ID_LIKE, treating as Debian"
>
&2
debian
else
echo
"Please submit this as a bug report to your distribution."
>
&2
/bin/echo
-e
"
$DEFAULT
"
fi
;;
esac
}
ubuntu
()
{
echo
"
$DEFAULT
"
}
debian
()
{
echo
"
$DEFAULT
"
}
debian_backports
()
{
echo
"
$DEFAULT
"
}
...
...
@@ -120,18 +87,9 @@ echo "$SUPPORTED_VERSIONS" | while read version release; do
case
$version
in
""
)
;;
$COMMENT
*
)
;;
default
)
default
|debian
*
|
ubuntu
*
)
default
;;
debian
)
debian
;;
debian-backports
)
debian_backports
;;
ubuntu
)
ubuntu
;;
pgdg
)
# apt.postgresql.org
pgdg
;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment