Skip to content

Commit

Permalink
feat: remove svn due to github will drop support for it
Browse files Browse the repository at this point in the history
  • Loading branch information
oott123 committed May 9, 2023
1 parent 0299b6b commit 8d76d07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docker/bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ dpkg-reconfigure -f noninteractive tzdata

locale-gen en_GB.UTF-8

echo "Installing: Git"
add-apt-repository ppa:git-core/ppa -y
apt-get update
apt-get install -y git

#
# NGINX
#
Expand Down
9 changes: 5 additions & 4 deletions docker/bin/sc-gamepatch.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash
set -xeo pipefail
SC_CLONE_PREFIX="${SC_CLONE_PREFIX:-https://github.com}"
SC_PATCHDATA_DIR=/vagrant/data/ffxiv-datamining-patches

rm -rf /vagrant/data/ffxiv-datamining-patches
mkdir -p /vagrant/data/ffxiv-datamining-patches
cd /vagrant/data/ffxiv-datamining-patches
svn co $SC_CLONE_PREFIX/xivapi/ffxiv-datamining-patches/trunk/patchdata
rm -rf "$SC_PATCHDATA_DIR"
git clone -n --depth=1 --filter=tree:0 "${SC_CLONE_PREFIX}/xivapi/ffxiv-datamining-patches" "$SC_PATCHDATA_DIR"
git -C "$SC_PATCHDATA_DIR" sparse-checkout set --no-cone patchdata
git -C "$SC_PATCHDATA_DIR" checkout

0 comments on commit 8d76d07

Please sign in to comment.