Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prepare_build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh
index 7e71a030901..9c5a9713189 100755
--- a/scripts/prepare_build.sh
+++ b/scripts/prepare_build.sh
@@ -20,10 +20,10 @@ if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then
# Install phantomjs package
pushd vendor/apt
- if [ ! -e phantomjs_1.9.8-0jessie_amd64.deb ]; then
- wget -q https://gitlab.com/axil/phantomjs-debian/raw/master/phantomjs_1.9.8-0jessie_amd64.deb
+ if [ ! -e "$PHANTOMJS_DEB" ]; then
+ wget -q "http://ftp.us.debian.org/debian/pool/main/p/phantomjs/$PHANTOMJS_DEB"
fi
- dpkg -i phantomjs_1.9.8-0jessie_amd64.deb
+ dpkg -i "$PHANTOMJS_DEB"
popd
# Try to install packages