install-xquartz.sh 275 Bytes
Newer Older
1
2
3
#!/bin/bash

echo "Downloading Xquartz"
Jean-Francois Rey's avatar
Jean-Francois Rey committed
4
curl -OL https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg
5
6

hdiutil attach XQuartz-2.7.11.dmg
Jean-Francois Rey's avatar
Jean-Francois Rey committed
7
8
sudo installer -package /Volume/XQuartz-2.7.11/XQuartz.pkg -target /
hdiutil detach /Volumes/XQuartz-2.7.11/
9
rm XQuartz-2.7.11.dmg