Skip to content

Commit

Permalink
Update gendiffstate.go
Browse files Browse the repository at this point in the history
Temporary disable the flatpak repo removal/add
  • Loading branch information
faan11 committed Dec 28, 2023
1 parent 84359ff commit c3cd893
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/view/gendiffstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
func generateRepoAddCommands(repos []model.FlatpakRepo) []string {
var commands []string

for _, repo := range repos {
/*for _, repo := range repos {
cmd := fmt.Sprintf("flatpak remote-add --%s --if-not-exists %s %s", repo.InstallationType, repo.Name, repo.URI)
commands = append(commands, cmd)
}
}*/

return commands
}
Expand All @@ -21,10 +21,10 @@ func generateRepoAddCommands(repos []model.FlatpakRepo) []string {
func generateRepoRemoveCommands(repos []model.FlatpakRepo) []string {
var commands []string

for _, repo := range repos {
/*for _, repo := range repos {
cmd := fmt.Sprintf("flatpak remote-delete --%s %s", repo.InstallationType, repo.Name)
commands = append(commands, cmd)
}
}*/

return commands
}
Expand Down

0 comments on commit c3cd893

Please sign in to comment.