Commit 70737758 authored by Damanpreet Singh's avatar Damanpreet Singh Committed by Alexandru Băluț

build: Use --if-not-exists when adding a remote

parent 3cf0545b
......@@ -239,7 +239,7 @@ class FlatpakRepos(FlatpakObject):
same_name.url = repo.url
return same_name
self.flatpak("remote-add", repo.name, "--from",
self.flatpak("remote-add", "--if-not-exists", repo.name, "--from",
repo.repo_file.name,
comment="Adding repo %s" % repo.name)
repo.repos = self
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment