Clone to known directories

This commit is contained in:
Bob Mottram 2016-01-26 15:33:45 +00:00
parent 2fbdac891b
commit 701a8a949f
1 changed files with 7 additions and 7 deletions

View File

@ -2735,7 +2735,7 @@ function install_atheros_wifi {
fi
cd $INSTALL_DIR
if [ ! -d $INSTALL_DIR/open-ath9k-htc-firmware ]; then
git clone $ATHEROS_WIFI_REPO
git clone $ATHEROS_WIFI_REPO $INSTALL_DIR/open-ath9k-htc-firmware
if [ ! "$?" = "0" ]; then
rm -rf $INSTALL_DIR/open-ath9k-htc-firmware
exit 74283
@ -4457,7 +4457,7 @@ function configure_email {
mkdir -p $INSTALL_DIR
fi
cd $INSTALL_DIR
git clone $EXIM_ONION_REPO
git clone $EXIM_ONION_REPO $INSTALL_DIR/exim4-smtorp
cd $INSTALL_DIR/exim4-smtorp/tor-smtp
make
if [ ! -f $INSTALL_DIR/exim4-smtorp/tor-smtp/tor-smtp ]; then
@ -5234,7 +5234,7 @@ function encrypt_incoming_email {
if [ ! -f /usr/bin/gpgit.pl ]; then
apt-get -y install git libmail-gnupg-perl
cd $INSTALL_DIR
git clone $GPGIT_REPO
git clone $GPGIT_REPO $INSTALL_DIR/gpgit
cd $INSTALL_DIR/gpgit
git checkout $GPGIT_COMMIT -b $GPGIT_COMMIT
if ! grep -q "gpgit commit" $COMPLETION_FILE; then
@ -6600,7 +6600,7 @@ function install_gogs {
mkdir -p $GOPATH/src/github.com/gogits
fi
cd $GOPATH/src/github.com/gogits
git clone $GIT_DOMAIN_REPO
git clone $GIT_DOMAIN_REPO $GOPATH/src/github.com/gogits/gogs
cd gogs
git checkout $GOGS_COMMIT -b $GOGS_COMMIT
if ! grep -q "Gogs commit" $COMPLETION_FILE; then
@ -6856,7 +6856,7 @@ function tox_avahi {
# install a command to obtain the Tox ID
cd $INSTALL_DIR
git clone $TOXID_REPO
git clone $TOXID_REPO $INSTALL_DIR/toxid
if [ ! -d $INSTALL_DIR/toxid ]; then
exit 63921
fi
@ -6917,7 +6917,7 @@ function install_tox_node {
apt-get -y install libconfig9 libconfig-dev
cd $INSTALL_DIR
git clone $TOX_REPO
git clone $TOX_REPO $INSTALL_DIR/toxcore
cd $INSTALL_DIR/toxcore
git checkout $TOX_COMMIT -b $TOX_COMMIT
@ -7079,7 +7079,7 @@ function install_tox_client {
apt-get -y install libncursesw5-dev libconfig-dev libqrencode-dev libcurl4-openssl-dev
cd $INSTALL_DIR
git clone $TOXIC_REPO
git clone $TOXIC_REPO $INSTALL_DIR/toxic
cd $INSTALL_DIR/toxic
git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT
if ! grep -q "Toxic commit" $COMPLETION_FILE; then