# The MIT License
#
# Copyright (c) 2011,2012 by Michael Prokop <mika@debian.org>
-# Copyright (c) 2012-2020 by Christoph Berg <myon@debian.org>
+# Copyright (c) 2012-2021 by Christoph Berg <myon@debian.org>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
;;
esac
+# remove unsupported autopkgtest restrictions
+case $distribution in bionic)
+ if test -f debian/tests/control && grep needs-internet debian/tests/control; then
+ sed -i -e 's/\(, \)\?needs-internet//' debian/tests/control
+ TWEAK+=("Remove needs-internet from debian/tests/control.")
+ fi
+ ;;
+esac
+
# use ~ in version number for backport-style packages
case $PACKAGE in
autopkgtest|cl-*|dh-exec|django-*|pkg-perl-tools|python-*|flask-*|sfcgal|speaklater)