install.sh picks up with cloning where left off
This commit is contained in:
+8
-1
@@ -18,10 +18,17 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd /home/joeac.net
|
cd /home/joeac.net
|
||||||
|
if ! [ -d joeac.net/.git ]
|
||||||
|
then
|
||||||
sudo -u joeac.net git clone https://git.joeac.net/joeac.net.git joeac.net
|
sudo -u joeac.net git clone https://git.joeac.net/joeac.net.git joeac.net
|
||||||
sudo ln -s /home/joeac.net/joeac.net /usr/local/lib/joeac.net
|
fi
|
||||||
cd joeac.net
|
cd joeac.net
|
||||||
|
|
||||||
|
if ! [ -h /usr/local/lib/joeac.net ]
|
||||||
|
then
|
||||||
|
sudo ln -s /home/joeac.net/joeac.net /usr/local/lib/joeac.net
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "${DIGITALOCEAN_TOKEN}" ]
|
if [ -z "${DIGITALOCEAN_TOKEN}" ]
|
||||||
then
|
then
|
||||||
read -sp "DIGITALOCEAN_TOKEN: " DIGITALOCEAN_TOKEN
|
read -sp "DIGITALOCEAN_TOKEN: " DIGITALOCEAN_TOKEN
|
||||||
|
|||||||
Reference in New Issue
Block a user