Skip to content
Snippets Groups Projects
Commit 0fce51cd authored by Frede H's avatar Frede H :speech_balloon:
Browse files

refactor `-U` to verify `$prefix/etc/pacman.d`

create if not exist
parent c97b112a
No related branches found
No related tags found
No related merge requests found
...@@ -285,6 +285,7 @@ class PacmanMirrors: ...@@ -285,6 +285,7 @@ class PacmanMirrors:
quiet=self.quiet) quiet=self.quiet)
# Number 4 # Number 4
if url: if url:
filefn.dir_must_exist(prefix + "/etc/pacman.d")
mirror = [ mirror = [
{ {
"url": apifn.check_url(url), "url": apifn.check_url(url),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment