From 6a8eca57a7f32fbe1ed57672ee09ba931c265e49 Mon Sep 17 00:00:00 2001 From: Adrian Date: Sun, 3 Mar 2024 13:18:42 -0500 Subject: [PATCH] Remove architecture from testrepo, since it would stop installing wine and other i386 programs --- debian/changelog | 6 ++++++ mainwindow.cpp | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index e3c541b2..8c3ec742 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mx-packageinstaller (24.3) mx; urgency=medium + + * Fix: remove architecture from testrepo, since it would stop installing wine and other programs that need i386 arch + + -- Adrian Sun, 03 Mar 2024 10:06:07 -0500 + mx-packageinstaller (24.2) mx; urgency=medium * Update translations diff --git a/mainwindow.cpp b/mainwindow.cpp index 257be386..67cdf43d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1330,9 +1330,7 @@ bool MainWindow::installSelected() } cmd.runAsRoot("apt-get update --print-uris | tac | " "grep -m1 -oE 'https?://.*/mx/repo/dists/" - + suite - + "/main' | sed 's:^:deb [arch='$(dpkg --print-architecture)'] :; " - "s:/repo/dists/:/testrepo :; s:/main: test:' > " + + suite + "/main' | sed 's:^:deb :; s:/repo/dists/:/testrepo :; s:/main: test:' > " + temp_list); } updateApt();