Continue working on Julia code
This commit is contained in:
parent
507ee99dcf
commit
840ac8c2cc
|
@ -93,10 +93,7 @@ G = [Set{Int}() for i = 1:N]
|
|||
|
||||
for i = 1:N
|
||||
for con in pkginfo[i].conflicts
|
||||
if con in keys(pkgidx)
|
||||
push!(G[i], pkgidx[con])
|
||||
push!(G[pkgidx[con]], i)
|
||||
elseif con in keys(virtual)
|
||||
if con in keys(virtual)
|
||||
for j in virtual[con]
|
||||
if j != i
|
||||
push!(G[i], j)
|
||||
|
@ -104,6 +101,10 @@ for i = 1:N
|
|||
end
|
||||
end
|
||||
end
|
||||
if con in keys(pkgidx)
|
||||
push!(G[i], pkgidx[con])
|
||||
push!(G[pkgidx[con]], i)
|
||||
end
|
||||
end
|
||||
end
|
||||
```
|
||||
|
@ -170,7 +171,7 @@ open("out", "w") do f
|
|||
end
|
||||
```
|
||||
|
||||
And time to install everything!
|
||||
Alright, time to install everything!
|
||||
```sh
|
||||
cat out | xargs sudo pacman -Sdd --noconfirm
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue