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