Backport command-not-found from debian stable

Fix several bugs (and is only one package)
This commit is contained in:
Luis Guzman 2021-09-24 22:33:34 -05:00
parent 0314c76863
commit 9ae5089b22

View file

@ -19,16 +19,20 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=3 EXTERNAL='deb-src http://ftp.debian.org/debian stable main'
REPOKEY=04EE7237B7D453EC
VERSION=1
. ./config . ./config
# --- # ---
# New way of working the db # New way of working the db
#https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1844651 #https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1844651
# --- # ---
# Delete components upstream, keep universe for passing test making main the first (only) parsed. # Delete components upstream, keep universe for passing test making main the first (only) parsed.
#sed -i '/universe/d' CommandNotFound/db/creator.py
sed -i '/contrib/d;/restricted/d;/non-free/d;/multiverse/d' CommandNotFound/db/creator.py sed -i '/contrib/d;/restricted/d;/non-free/d;/multiverse/d' CommandNotFound/db/creator.py
#Remove reference to non-free software or mirrors. #Remove reference to non-free software or mirrors.