Skip to content
Snippets Groups Projects
Commit ed8fba54 authored by clayton craft's avatar clayton craft Committed by Martijn Braam
Browse files

pmb.helpers.ui scan for UIs in new aport structure (#290)

This fixes #289.
parent 6cb68699
Branches
Tags
No related merge requests found
......@@ -26,7 +26,7 @@ def list(args):
:returns: ["none", "postmarketos-ui-one", "psotmarketos-ui-two", ...]
"""
ret = []
for path in glob.glob(args.aports + "/postmarketos-ui-*"):
for path in glob.glob(args.aports + "/main/postmarketos-ui-*"):
ui = os.path.basename(path).split("-", 2)[2]
ret.append(ui)
ret.append('none')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment