mirror of
https://github.com/mkoehnke/WKZombie.git
synced 2024-08-17 14:30:33 +03:00
11 lines
248 B
Bash
11 lines
248 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [[ $# -eq 0 ]] ; then
|
||
|
echo "Carthage version required (e.g. 0.11)"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
curl -OlL "https://github.com/Carthage/Carthage/releases/download/$1/Carthage.pkg"
|
||
|
sudo installer -pkg "Carthage.pkg" -target /
|
||
|
rm "Carthage.pkg"
|