livecd-rootfs/live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot
Oliver Grawert 583d34e584 Import patches-unapplied version 2.179 to ubuntu/saucy-proposed
Imported using git-ubuntu import.

Changelog parent: dbc0c8b1aa22a0fb8cff01d1f4b171a12b80e294

New changelog entries:
  * add 70-reconfigure-autopilot.chroot to ubuntu-touch builds, to make sure
    the phablet user actually ends up in the autopilot group
2013-08-27 09:33:18 +00:00

11 lines
360 B
Bash

#!/bin/sh
# make sure the phablet user is in the autopilot group
# (the user is not available when the package postinst
# adds all users of the sudo group to the autopilot one
# so we re-run the package configuration now
echo "making sure phablet user is in the autopilot group"
dpkg -l python-autopilot >/dev/null 2>&1 && dpkg-reconfigure python-autopilot