diff --git a/euscanwww/djeuscan/tasks.py b/euscanwww/djeuscan/tasks.py index 2f36f95..a112a26 100644 --- a/euscanwww/djeuscan/tasks.py +++ b/euscanwww/djeuscan/tasks.py @@ -117,8 +117,12 @@ def emerge_sync(): @task def layman_sync(): - cmd = ["layman", "-S", "--config", settings.LAYMAN_CONFIG] - return _launch_command(cmd) + from layman import Layman + results = [] + l = Layman() + for overlay in l.get_installed(): + results.append(l.sync(overlay, output_results=False)) + return results @task