"build": "Build a package from source",
"init": "Quickly start a new repository",
"publish": "Sign and place packages in the repo",
+ "gpgsign": "Add gpg signatures for packages in repo",
"update": "Update repo information for new packages",
"verify": "Verify the integrity of downloaded packages",
"checkupdates": "Check for updates to applications",
del sys.argv[1]
mod = __import__('fdroidserver.' + command, None, None, [command])
- mod.main()
+ try:
+ mod.main()
+ except Exception, e:
+ if verbose:
+ raise
+ else:
+ print str(e)
+ sys.exit(1)
sys.exit(0)
if __name__ == "__main__":