forked from Mirror/pmbootstrap
Migration guide: https://github.com/postmarketOS/pmbootstrap/wiki/Migration-to-aports-subfolders
This commit is contained in:
parent
6dbf3c7872
commit
314c17e03c
253 changed files with 58 additions and 42 deletions
|
@ -27,7 +27,7 @@ def list(args):
|
|||
:returns: ["first-device", "second-device", ...]
|
||||
"""
|
||||
ret = []
|
||||
for path in glob.glob(args.aports + "/device-*"):
|
||||
for path in glob.glob(args.aports + "/device/device-*"):
|
||||
device = os.path.basename(path).split("-", 1)[1]
|
||||
ret += [device]
|
||||
return ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue