Copying click packages to install search location instead of installing

for a hardcoded user.
ubuntu/trusty
Ricardo Salveti de Araujo 11 years ago
commit 3564afa1fc

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.178) UNRELEASED; urgency=low
* Copying click packages to install search location instead of installing
for a hardcoded user.
-- Sergio Schvezov <sergio.schvezov@canonical.com> Mon, 26 Aug 2013 17:22:14 -0300
livecd-rootfs (2.177) saucy; urgency=low livecd-rootfs (2.177) saucy; urgency=low
* do not forcefully use the admin group on touch images. this group was * do not forcefully use the admin group on touch images. this group was

@ -6,11 +6,12 @@ echo "Setting up click packages"
click_uri=http://archive-team.internal/click_packages click_uri=http://archive-team.internal/click_packages
click_list=$click_uri/click_list click_list=$click_uri/click_list
click_dir=/usr/share/preinstalled/click
mkdir -p "$click_dir"
for package in $(wget -qO- "$click_list") for package in $(wget -qO- "$click_list")
do do
echo "Setting up $package" echo "Setting up $package"
wget --no-verbose -O "$package" "$click_uri"/"$package" wget --no-verbose -O "$click_dir"/"$package" "$click_uri"/"$package"
click install --user=phablet --force-missing-framework "$package"
rm "$package"
done done

Loading…
Cancel
Save