|
|
@ -20,10 +20,12 @@ tmpdir="$(mktemp -d)"
|
|
|
|
cleanup () { rm -rf "$tmpdir"; }
|
|
|
|
cleanup () { rm -rf "$tmpdir"; }
|
|
|
|
trap cleanup EXIT
|
|
|
|
trap cleanup EXIT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CLICKARCH=$(dpkg --print-architecture)
|
|
|
|
|
|
|
|
|
|
|
|
wget --no-verbose -O "$tmpdir/click_list" "$click_list"
|
|
|
|
wget --no-verbose -O "$tmpdir/click_list" "$click_list"
|
|
|
|
for package in $(cat "$tmpdir/click_list")
|
|
|
|
for package in $(cat "$tmpdir/click_list")
|
|
|
|
do
|
|
|
|
do
|
|
|
|
if echo $package | egrep -q "_$ARCH.click|_all.click|_unknown.click|_multi.click"; then
|
|
|
|
if echo $package | egrep -q "_$CLICKARCH.click|_all.click|_unknown.click|_multi.click"; then
|
|
|
|
echo "Setting up $package"
|
|
|
|
echo "Setting up $package"
|
|
|
|
wget --no-verbose -O "$tmpdir/$package" "$click_uri/$package"
|
|
|
|
wget --no-verbose -O "$tmpdir/$package" "$click_uri/$package"
|
|
|
|
# FIXME: first attempt, a hard-coded list of the packages that go to
|
|
|
|
# FIXME: first attempt, a hard-coded list of the packages that go to
|
|
|
|