Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
use curl instead of wget
Browse files Browse the repository at this point in the history
  • Loading branch information
sawanoboly committed Feb 22, 2016
1 parent 43320bd commit e666e13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sudo install -o ${JETTY_USER} -g ${JETTY_GROUP} -d /opt/gitbucket


## Download latest stable jetty to /opt
wget http://download.eclipse.org/jetty/stable-9/dist/jetty-distribution-${JETTY_VERSION}.tar.gz -O /opt/src/jetty.tar.gz
curl http://download.eclipse.org/jetty/stable-9/dist/jetty-distribution-${JETTY_VERSION}.tar.gz -o /opt/src/jetty.tar.gz

## Extract jetty
sudo tar xvzf /opt/src/jetty.tar.gz -C /opt/gitbucket/
Expand All @@ -35,6 +35,6 @@ sudo chown jetty.jetty -R /opt/gitbucket/jetty
sudo install -o root -g root -m 0755 /opt/gitbucket/jetty/bin/jetty.sh /etc/init.d/gitbucket

# Extract gitbucket
wget https://github.com/takezoe/gitbucket/releases/download/${GB_VERSION}/gitbucket.war -O root.war
curl https://github.com/takezoe/gitbucket/releases/download/${GB_VERSION}/gitbucket.war -o root.war
sudo mv root.war /opt/gitbucket/jetty/webapps/
sudo chown -R ${JETTY_USER}.${JETTY_GROUP} /opt/gitbucket/jetty/webapps/

0 comments on commit e666e13

Please sign in to comment.