From 9ae5089b2256a1e48f4115e3f4ce35e670265c78 Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Fri, 24 Sep 2021 22:33:34 -0500 Subject: [PATCH] Backport command-not-found from debian stable Fix several bugs (and is only one package) --- helpers/make-command-not-found | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/helpers/make-command-not-found b/helpers/make-command-not-found index 5e1d384..54a944c 100644 --- a/helpers/make-command-not-found +++ b/helpers/make-command-not-found @@ -19,16 +19,20 @@ # 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 + # --- # New way of working the db #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 #Remove reference to non-free software or mirrors.