Skip to content

Commit 421d441

Browse files
committed
Fixes #2
This is the script we needed!
1 parent 67ec77b commit 421d441

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Manage Conky/Resources/InstallXQuartz.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,17 @@
1010
# this script must be run with sudo
1111
#
1212

13-
/usr/local/bin/brew cask install xquartz
13+
# download XQuartz
14+
curl -L -s -o /tmp/XQuartz.dmg https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg
15+
16+
# mount dmg
17+
hdiutil attach /tmp/XQuartz.dmg -mountpoint /Volumes/XQuartz
18+
19+
# run the intstaller
20+
installer -pkg /Volumes/XQuartz/XQuartz.pkg -target /
21+
22+
# umnount
23+
hdiutil detach /Volumes/XQuartz
24+
25+
# cleanup
26+
rm -f /tmp/XQuartz.dmg

0 commit comments

Comments
 (0)