Merge branch 'main' of git.threefold.info:ourworld_web/itenv_tools
This commit is contained in:
commit
df2b1253fa
@ -50,8 +50,8 @@ fi
|
|||||||
echo "Git configuration verified"
|
echo "Git configuration verified"
|
||||||
|
|
||||||
# Create code directory if it doesn't exist
|
# Create code directory if it doesn't exist
|
||||||
mkdir -p /root/code
|
mkdir -p /root/code/git.threefold.info/ourworld_web
|
||||||
cd /root/code
|
cd /root/code/git.threefold.info/ourworld_web
|
||||||
|
|
||||||
# Check if itenv_web2 directory exists
|
# Check if itenv_web2 directory exists
|
||||||
if [[ -d "itenv_web2" ]]; then
|
if [[ -d "itenv_web2" ]]; then
|
||||||
@ -63,4 +63,15 @@ else
|
|||||||
git clone git@git.threefold.info:ourworld_web/itenv_web2.git
|
git clone git@git.threefold.info:ourworld_web/itenv_web2.git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if itenv_tools directory exists
|
||||||
|
if [[ -d "itenv_tools" ]]; then
|
||||||
|
echo "Directory itenv_tools exists, pulling latest changes..."
|
||||||
|
cd itenv_tools
|
||||||
|
git pull
|
||||||
|
else
|
||||||
|
echo "Directory itenv_tools does not exist, cloning repository..."
|
||||||
|
git clone git@git.threefold.info:ourworld_web/itenv_tools.git
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo "Checkout/update completed successfully!"
|
echo "Checkout/update completed successfully!"
|
Loading…
Reference in New Issue
Block a user