Skip to content

Commit

Permalink
Fix JuliaPackaging#261 for Arch Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
americast committed Feb 26, 2017
1 parent 4654b03 commit 86174e5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
s=""
try
s = s * chomp(readstring(pipeline(`cat /etc/issue`, stderr=DevNull)))
end
try
s = s* chomp(readstring(pipeline(`cat /proc/version`, stderr=DevNull)))
end
try
if(contains(lowercase(s), "arch"))
try
run(pipeline(`sudo pacman -S unzip`, stdout=DevNull, stderr=DevNull))
catch
println("Unable to install zip. Please install it manually.")
end
end
end

0 comments on commit 86174e5

Please sign in to comment.