Removed the phrasing that dnf was found but dnf5 is being used instead. F41 beta seems to have deprecated dnf3 and has a symplink of dnf5 to dnf.

This commit is contained in:
Andrew Schott 2024-10-06 20:48:24 -05:00
parent 83a722c57e
commit 289dcdde3a

View file

@ -81,7 +81,6 @@ fn update_dnf() {
let path_dnf5 = Path::new(&dnf5_bin); let path_dnf5 = Path::new(&dnf5_bin);
if path_dnf5.exists() { if path_dnf5.exists() {
cprintln!("<bold><rev>osupdater: dnf found but skipped since dnf5 is present</rev></bold>");
cprintln!("<bold><rev>osupdater: Updating via dnf5</rev></bold>"); cprintln!("<bold><rev>osupdater: Updating via dnf5</rev></bold>");
let mut cmd = let mut cmd =
Command::new(&sudo_bin) Command::new(&sudo_bin)