mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2024-12-24 02:21:00 +00:00
d8f5aed665
Refine symlink scripts too.
13 lines
265 B
Bash
Executable File
13 lines
265 B
Bash
Executable File
#!/bin/bash
|
|
SOURCE=".api"
|
|
DESTINATION="Library/Sources/CommonAPI/API"
|
|
API_VERSION="v5"
|
|
|
|
rm -rf $SOURCE
|
|
git clone https://github.com/passepartoutvpn/api --depth 1 $SOURCE
|
|
|
|
rm -rf $DESTINATION
|
|
mkdir -p $DESTINATION
|
|
mv $SOURCE/$API_VERSION $DESTINATION
|
|
rm -rf $SOURCE
|