Commits on Feb 19, 2016

  1. 50appstream: Only run as root

    'appstreamcli refresh' only works when you are root. If you are running
    'apt update' as a normal user (for example some sandboxed tools do
    this), then the failure of this Post-Invoke-Success hook causes the
    update to fail.
    
    E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
    E: Sub-process returned an error code
    iainlane committed Feb 19, 2016