Commit 71849cf0 authored by Lisa's avatar Lisa
Browse files

Small fixes in akabei-db-import

parent 3549361e
......@@ -133,6 +133,9 @@ if __name__ == "__main__":
# Parse options and overrides defaults if needed
for opt, arg in opts[0]:
if len(arg) > 0 and arg[0] == '=':
arg = arg[1:]
if opt in ("-h", "--help"):
usage()
sys.exit(0)
......@@ -154,7 +157,7 @@ if __name__ == "__main__":
if len(dbpath) == 0:
dbpath = "/var/lib/pacman" # if not explicitly set there, then go back to the default value
localPath = dbpath + "/local"
localPath = concatenatePaths(dbpath, "local")
# Get local packages from pacman, then write them into the akabei database in the right format
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment