Skip to content

Commit

Permalink
Remove architecture from testrepo, since it would stop installing win…
Browse files Browse the repository at this point in the history
…e and other i386 programs
  • Loading branch information
AdrianTM committed Mar 3, 2024
1 parent 21c3ded commit 6a8eca5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> Sun, 03 Mar 2024 10:06:07 -0500

mx-packageinstaller (24.2) mx; urgency=medium

* Update translations
Expand Down
4 changes: 1 addition & 3 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6a8eca5

Please sign in to comment.