mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test
for whether a package is installed, and check for both python-autopilot and python3-autopilot.
This commit is contained in:
parent
d455fcccd7
commit
807ee32efc
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
livecd-rootfs (2.210) UNRELEASED; urgency=medium
|
||||
|
||||
* live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test
|
||||
for whether a package is installed, and check for both python-autopilot
|
||||
and python3-autopilot.
|
||||
|
||||
-- Colin Watson <cjwatson@ubuntu.com> Fri, 16 May 2014 13:03:31 +0100
|
||||
|
||||
livecd-rootfs (2.209) utopic; urgency=medium
|
||||
|
||||
* live-build/auto/config: Pass any additional command-line arguments on to
|
||||
|
@ -7,4 +7,10 @@
|
||||
|
||||
echo "making sure phablet user is in the autopilot group"
|
||||
|
||||
dpkg -l python-autopilot >/dev/null 2>&1 && dpkg-reconfigure python-autopilot
|
||||
for pkg in python-autopilot python3-autopilot; do
|
||||
if dpkg-query -W -f '${Status}\n' "$pkg" 2>/dev/null | \
|
||||
grep -q ' installed$'; then
|
||||
dpkg-reconfigure "$pkg"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user