Skip to content
Snippets Groups Projects
Commit 15f6afa6 authored by Luis Guzmán's avatar Luis Guzmán
Browse files

Fix update-manager by adding missing apt_pkg module

parent dcd9e72e
No related branches found
No related tags found
1 merge request!564Fix update-manager by adding missing apt_pkg module
Pipeline #303 passed
......@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=11
VERSION=12
. ./config
......@@ -65,6 +65,10 @@ sed '/%s base/ s/name.*/name = "Trisquel base"/' -i ./UpdateManager/Core/UpdateL
sed 's_https://changelogs.ubuntu.com/changelogs/pool/_https://packages.trisquel.org/changelogs/pool/_' -i UpdateManager/Core/MyCache.py
sed '/len(changelog) == 0/,/"later."/d' -i UpdateManager/Core/MyCache.py
#Make sure apt_pkg is enabled for prevent-autoconnection.patch to work.
[ -z "$(grep 'import apt_pkg' UpdateManager/UpdateManager.py)" ] && \
sed -i '/import distro_info/i import apt_pkg' UpdateManager/UpdateManager.py
changelog "Compiled for Trisquel"
compile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment