summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2017-08-26 22:27:18 +0300
committerDmitry Shachnev <mitya57@gmail.com>2017-08-26 22:27:18 +0300
commitd13502d969d2c98d3d4ad08cc5fd740f1f337da8 (patch)
tree6f21295f28008fcd80a2929676ca68ccb83341d4
parentf5c4b34e43cfceb276d1a06850d8bd338a83385c (diff)
downloadpkg-kde-tools-d13502d969d2c98d3d4ad08cc5fd740f1f337da8.tar.gz
pkgkde-vcs: Add jessie and stretch to supported distributions.
Closes: #873243. Thanks to Sandro Knauß for the initial patch.
-rw-r--r--debian/changelog4
-rwxr-xr-xpkgkde-vcs4
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 1cf37d8..ff89bb9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,10 @@ pkg-kde-tools (0.15.25) UNRELEASED; urgency=medium
[ Maximiliano Curia ]
* (l10n-packages.mk) Add missing ast and eo langs
+ [ Dmitry Shachnev ]
+ * pkgkde-vcs: Add jessie and stretch to supported distributions (Closes:
+ #873243). Thanks to Sandro Knauß for the initial patch.
+
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Tue, 27 Jun 2017 15:44:05 +0300
pkg-kde-tools (0.15.24) unstable; urgency=medium
diff --git a/pkgkde-vcs b/pkgkde-vcs
index 5ddb4f5..98f5368 100755
--- a/pkgkde-vcs
+++ b/pkgkde-vcs
@@ -153,7 +153,9 @@ is_distribution_valid()
{
local distro
test -n "$1" || distro="$DEB_DISTRIBUTION"
- if [ "$(expr match "$distro" '^\(\(stable\|testing\)\(-security\|-proposed-updates\)\|\(squeeze\|wheezy\)-backports\|stable\|unstable\|experimental\)$')" = "$distro" ]; then
+ if [ "$(expr match "$distro" '^\(\(wheezy\|jessie\|stretch\)\(-security\|-backports\|-backports-sloppy\)\?\)$')" = "$distro" ]; then
+ return 0
+ elif [ "$(expr match "$distro" '^\(testing\(-proposed-updates\)\?\|unstable\|experimental\)$')" = "$distro" ]; then
return 0
fi
return 1