mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fixed small issue with functions
This commit is contained in:
parent
f6d7033b51
commit
cc4dd1ab0f
|
@ -48,7 +48,7 @@ function fcho() {
|
||||||
printf "\n$msg\n" "$@"
|
printf "\n$msg\n" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
function build-toxcore {
|
function build-toxcore() {
|
||||||
echo "Starting Toxcore build and install"
|
echo "Starting Toxcore build and install"
|
||||||
cd $TOXCORE_DIR
|
cd $TOXCORE_DIR
|
||||||
echo "Now working in: ${PWD}"
|
echo "Now working in: ${PWD}"
|
||||||
|
@ -75,7 +75,7 @@ function build-toxcore {
|
||||||
sudo make install
|
sudo make install
|
||||||
}
|
}
|
||||||
|
|
||||||
function install {
|
function install() {
|
||||||
fcho "=============================="
|
fcho "=============================="
|
||||||
fcho "This script will install the nessicarry applications and libraries needed to compile qTox properly."
|
fcho "This script will install the nessicarry applications and libraries needed to compile qTox properly."
|
||||||
fcho "Note that this is not a 100 percent automated install it just helps simplfiy the process for less experianced or lazy users."
|
fcho "Note that this is not a 100 percent automated install it just helps simplfiy the process for less experianced or lazy users."
|
||||||
|
@ -145,7 +145,7 @@ function install {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function update {
|
function update() {
|
||||||
fcho "------------------------------"
|
fcho "------------------------------"
|
||||||
fcho "Starting update process ..."
|
fcho "Starting update process ..."
|
||||||
#First update Toxcore from git
|
#First update Toxcore from git
|
||||||
|
@ -175,7 +175,7 @@ function update {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function build {
|
function build() {
|
||||||
fcho "------------------------------"
|
fcho "------------------------------"
|
||||||
fcho "Starting build process ..."
|
fcho "Starting build process ..."
|
||||||
rm -r $BUILD_DIR
|
rm -r $BUILD_DIR
|
||||||
|
@ -188,7 +188,7 @@ function build {
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
function deploy {
|
function deploy() {
|
||||||
fcho "------------------------------"
|
fcho "------------------------------"
|
||||||
fcho "starting deployment process ..."
|
fcho "starting deployment process ..."
|
||||||
cd $BUILD_DIR
|
cd $BUILD_DIR
|
||||||
|
|
Loading…
Reference in New Issue
Block a user