2024-10-30 10:46:24 +00:00
|
|
|
#!/bin/bash
|
2024-11-27 18:27:13 +00:00
|
|
|
SOURCE=".api"
|
2024-11-28 23:10:22 +00:00
|
|
|
DESTINATION="Library/Sources/CommonAPI/API"
|
2024-10-30 10:46:24 +00:00
|
|
|
API_VERSION="v5"
|
|
|
|
|
2024-11-27 18:27:13 +00:00
|
|
|
rm -rf $SOURCE
|
|
|
|
git clone https://github.com/passepartoutvpn/api --depth 1 $SOURCE
|
2024-10-30 10:46:24 +00:00
|
|
|
|
|
|
|
rm -rf $DESTINATION
|
|
|
|
mkdir -p $DESTINATION
|
2024-11-27 18:27:13 +00:00
|
|
|
mv $SOURCE/$API_VERSION $DESTINATION
|
|
|
|
rm -rf $SOURCE
|