Skip to content

Commit

Permalink
thats what I thought
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Aug 14, 2024
1 parent be199cc commit 3444c87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/package_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,12 @@ impl Component for PackageManagerModel {

if self.install_flatpak {
commands.push("sudo apt-get install -y flatpak");
commands.push("flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo");
commands.push("flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo");
if self.install_flatpak_beta {
commands.push("flatpak remote-add --user --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo");
commands.push("flatpak remote-add --system --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo");
}
if self.install_flatpak_flatseal {
commands.push("flatpak --user install flathub com.github.tchx84.Flatseal -y");
commands.push("flatpak --system install flathub com.github.tchx84.Flatseal -y");
}
}

Expand Down

0 comments on commit 3444c87

Please sign in to comment.