summaryrefslogtreecommitdiff
path: root/pkgkde-vcs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgkde-vcs')
-rwxr-xr-xpkgkde-vcs4
1 files changed, 3 insertions, 1 deletions
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