diff options
Diffstat (limited to 'pkgkde-vcs')
-rwxr-xr-x | pkgkde-vcs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |