Commit aa79e30a authored by Pierre-Yves Fourmond's avatar Pierre-Yves Fourmond

Simplify git server reference

parent 9a429460
......@@ -24,8 +24,9 @@
# Copy this file to /etc/bash_completion.d/ and bash will load it.
#
GIT_SERVER=git.framasoft.org
LIAR=liar-completion
URL=https://git.framasoft.org/grumpyf0x48/liar/raw/master
URL=https://${GIT_SERVER}/grumpyf0x48/liar/raw/master
VERSION=0.2-dev
ALL_COMMANDS="help install list remove version upgrade"
......@@ -33,7 +34,7 @@ ALL_OPTIONS="-d -l -s -p -a -c -t -S -v -r -b -f"
SOFTWARE_FILE="$HOME/.liar_software"
_liar_update_software_file() {
if ! ping -c1 -W1 git.framasoft.org >/dev/null 2>&1; then
if ! ping -c1 -W1 ${GIT_SERVER} >/dev/null 2>&1; then
return;
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment