Skip to content
Permalink
Browse files
check the arguments
  • Loading branch information
anarcat committed Mar 6, 2012
1 parent 4581309 commit f99bbd7ef323c0ebbec00dc8770f2d6aac79775d
Showing 1 changed file with 4 additions and 0 deletions.
@@ -82,6 +82,10 @@ def fab_uninstall_aegir():


def main():
assert len(sys.argv) > 0, "No .deb provided on the commandline"
for deb in sys.argv:
assert(os.path.exists(deb)), "provided file doesn't exist: " + deb

# Run some tests
dependency_check()

0 comments on commit f99bbd7

Please sign in to comment.