Clone to known directories
This commit is contained in:
parent
2fbdac891b
commit
701a8a949f
|
@ -2735,7 +2735,7 @@ function install_atheros_wifi {
|
||||||
fi
|
fi
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
if [ ! -d $INSTALL_DIR/open-ath9k-htc-firmware ]; then
|
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
|
if [ ! "$?" = "0" ]; then
|
||||||
rm -rf $INSTALL_DIR/open-ath9k-htc-firmware
|
rm -rf $INSTALL_DIR/open-ath9k-htc-firmware
|
||||||
exit 74283
|
exit 74283
|
||||||
|
@ -4457,7 +4457,7 @@ function configure_email {
|
||||||
mkdir -p $INSTALL_DIR
|
mkdir -p $INSTALL_DIR
|
||||||
fi
|
fi
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
git clone $EXIM_ONION_REPO
|
git clone $EXIM_ONION_REPO $INSTALL_DIR/exim4-smtorp
|
||||||
cd $INSTALL_DIR/exim4-smtorp/tor-smtp
|
cd $INSTALL_DIR/exim4-smtorp/tor-smtp
|
||||||
make
|
make
|
||||||
if [ ! -f $INSTALL_DIR/exim4-smtorp/tor-smtp/tor-smtp ]; then
|
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
|
if [ ! -f /usr/bin/gpgit.pl ]; then
|
||||||
apt-get -y install git libmail-gnupg-perl
|
apt-get -y install git libmail-gnupg-perl
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
git clone $GPGIT_REPO
|
git clone $GPGIT_REPO $INSTALL_DIR/gpgit
|
||||||
cd $INSTALL_DIR/gpgit
|
cd $INSTALL_DIR/gpgit
|
||||||
git checkout $GPGIT_COMMIT -b $GPGIT_COMMIT
|
git checkout $GPGIT_COMMIT -b $GPGIT_COMMIT
|
||||||
if ! grep -q "gpgit commit" $COMPLETION_FILE; then
|
if ! grep -q "gpgit commit" $COMPLETION_FILE; then
|
||||||
|
@ -6600,7 +6600,7 @@ function install_gogs {
|
||||||
mkdir -p $GOPATH/src/github.com/gogits
|
mkdir -p $GOPATH/src/github.com/gogits
|
||||||
fi
|
fi
|
||||||
cd $GOPATH/src/github.com/gogits
|
cd $GOPATH/src/github.com/gogits
|
||||||
git clone $GIT_DOMAIN_REPO
|
git clone $GIT_DOMAIN_REPO $GOPATH/src/github.com/gogits/gogs
|
||||||
cd gogs
|
cd gogs
|
||||||
git checkout $GOGS_COMMIT -b $GOGS_COMMIT
|
git checkout $GOGS_COMMIT -b $GOGS_COMMIT
|
||||||
if ! grep -q "Gogs commit" $COMPLETION_FILE; then
|
if ! grep -q "Gogs commit" $COMPLETION_FILE; then
|
||||||
|
@ -6856,7 +6856,7 @@ function tox_avahi {
|
||||||
|
|
||||||
# install a command to obtain the Tox ID
|
# install a command to obtain the Tox ID
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
git clone $TOXID_REPO
|
git clone $TOXID_REPO $INSTALL_DIR/toxid
|
||||||
if [ ! -d $INSTALL_DIR/toxid ]; then
|
if [ ! -d $INSTALL_DIR/toxid ]; then
|
||||||
exit 63921
|
exit 63921
|
||||||
fi
|
fi
|
||||||
|
@ -6917,7 +6917,7 @@ function install_tox_node {
|
||||||
apt-get -y install libconfig9 libconfig-dev
|
apt-get -y install libconfig9 libconfig-dev
|
||||||
|
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
git clone $TOX_REPO
|
git clone $TOX_REPO $INSTALL_DIR/toxcore
|
||||||
cd $INSTALL_DIR/toxcore
|
cd $INSTALL_DIR/toxcore
|
||||||
|
|
||||||
git checkout $TOX_COMMIT -b $TOX_COMMIT
|
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
|
apt-get -y install libncursesw5-dev libconfig-dev libqrencode-dev libcurl4-openssl-dev
|
||||||
|
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
git clone $TOXIC_REPO
|
git clone $TOXIC_REPO $INSTALL_DIR/toxic
|
||||||
cd $INSTALL_DIR/toxic
|
cd $INSTALL_DIR/toxic
|
||||||
git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT
|
git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT
|
||||||
if ! grep -q "Toxic commit" $COMPLETION_FILE; then
|
if ! grep -q "Toxic commit" $COMPLETION_FILE; then
|
||||||
|
|
Loading…
Reference in New Issue