Switching to wget and depending on it being installed by the seed

ubuntu/trusty
Sergio Schvezov 12 years ago
parent 26cee7d1a5
commit 6b17e866e4

@ -3,17 +3,14 @@
set -e
echo "Setting up click packages"
echo "Installing curl to download click"
apt-get install -y -qq curl
click_uri=http://people.canonical.com/~sergiusens/click_packages
click_list=$click_uri/click_list
for package in $(curl "$click_list")
for package in $(wget -qO- "$click_list")
do
echo "Setting up $package"
curl --silent --show-error --output "$package" "$click_uri"/"$package"
wget --no-verbose -O "$package" "$click_uri"/"$package"
click install --force-missing-framework "$package"
rm "$package"
done

Loading…
Cancel
Save