mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29:42 +02:00
fix github folder that already exists
This commit is contained in:
parent
cc4fc6c6db
commit
1613c0f059
1 changed files with 16 additions and 6 deletions
10
install.sh
10
install.sh
|
@ -46,9 +46,14 @@ su - $SUDO_USER -c "poetry --version"
|
||||||
#---------------------
|
#---------------------
|
||||||
apt install -y build-essential tcl
|
apt install -y build-essential tcl
|
||||||
|
|
||||||
|
if [ -d "redis" ];
|
||||||
|
then
|
||||||
git clone https://github.com/redis/redis.git
|
git clone https://github.com/redis/redis.git
|
||||||
cd redis
|
cd redis
|
||||||
git checkout 6.2
|
git checkout 6.2
|
||||||
|
else
|
||||||
|
cd redis
|
||||||
|
fi
|
||||||
make
|
make
|
||||||
# Optionally, you can run the tests:
|
# Optionally, you can run the tests:
|
||||||
# make test
|
# make test
|
||||||
|
@ -62,9 +67,14 @@ chown -R $SUDO_USER redis
|
||||||
apt-get update
|
apt-get update
|
||||||
apt install -y gcc g++ make libsnappy-dev autoconf automake libtool googletest libgtest-dev
|
apt install -y gcc g++ make libsnappy-dev autoconf automake libtool googletest libgtest-dev
|
||||||
|
|
||||||
|
if [ -d "kvrocks" ];
|
||||||
|
then
|
||||||
git clone --recursive https://github.com/apache/incubator-kvrocks.git kvrocks
|
git clone --recursive https://github.com/apache/incubator-kvrocks.git kvrocks
|
||||||
cd kvrocks
|
cd kvrocks
|
||||||
git checkout 2.0
|
git checkout 2.0
|
||||||
|
else
|
||||||
|
cd kvrocks
|
||||||
|
fi
|
||||||
make -j4
|
make -j4
|
||||||
# Optionally, you can run the tests:
|
# Optionally, you can run the tests:
|
||||||
# make test
|
# make test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue