command-not-found: update to upstream package and latest version.
This commit is contained in:
parent
e90d479bd5
commit
8485c65457
2 changed files with 159 additions and 8 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Copyright (C) 2013 Rubén Rodríguez <ruben@trisquel.info>
|
||||
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
|
||||
# Copyright (C) 2021 Luis Guzman <ark@switnet.org>
|
||||
# Copyright (C) 2022 Luis Guzman <ark@switnet.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -19,25 +19,22 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
EXTERNAL='deb-src http://ftp.debian.org/debian stable main'
|
||||
REPOKEY=04EE7237B7D453EC
|
||||
VERSION=1
|
||||
VERSION=2
|
||||
|
||||
. ./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.
|
||||
#sed -i '/universe/d' CommandNotFound/db/creator.py
|
||||
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.
|
||||
#do-mirror
|
||||
sed -i 's|ARCH_LIST=.*|ARCH_LIST="amd64,armhf"|' mirror/do-mirror
|
||||
#do-mirror - aramo arch.
|
||||
sed -i 's|ARCH_LIST=.*|ARCH_LIST="i386,amd64,armhf,arm64,ppc64el"|' mirror/do-mirror
|
||||
sed -i 's|SECTION_LIST=.*|SECTION_LIST="main"|' mirror/do-mirror
|
||||
sed -i 's|MIRROR_HOST=.*|MIRROR_HOST="archive.trisquel.org"|' mirror/do-mirror
|
||||
sed -i 's|MIRROR_ROOT=.*|MIRROR_ROOT=":trisquel"|' mirror/do-mirror
|
||||
|
|
@ -45,6 +42,12 @@ sed -i 's|--dist=$DIST,$DIST-updates,$DIST-backports|--dist=$DIST,$DIST-updates,
|
|||
#control
|
||||
sed -i '/snapd/d' debian/control
|
||||
|
||||
#Remove update-from-web
|
||||
rm update-from-web.sh
|
||||
|
||||
#Patch test
|
||||
patch -p1 < $DATA/fix_test.patch
|
||||
|
||||
changelog "Removed references to non-free software"
|
||||
|
||||
compile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue