We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d111ace commit 33c827eCopy full SHA for 33c827e
add_libmagic.sh
@@ -3,12 +3,11 @@
3
set -euxo pipefail
4
5
install_source() {
6
- # skip on Windows for now
7
- python -c 'import platform; assert platform.system() != "Windows"' || exit 1
8
# install from source
9
# https://www.darwinsys.com/file/
10
# https://github.com/file/file/blob/FILE5_46/INSTALL#L51
11
(
+ python -c 'import platform; assert platform.system() != "Windows"' &&
12
version="file-5.46" &&
13
tmpfile="$(mktemp)" &&
14
curl -sSLo "${tmpfile}" "https://astron.com/pub/file/${version}.tar.gz" &&
0 commit comments