From fca74d4bc3569506a6659880a89aa009dc11f552 Mon Sep 17 00:00:00 2001 From: wukong Date: Mon, 23 Nov 2015 17:48:48 +0100 Subject: moon-abe cleanup Change-Id: Ie1259856db03f0b9e80de3e967ec6bd1f03191b3 --- moon-abe/cpabe-0.11/cpabe-setup.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 moon-abe/cpabe-0.11/cpabe-setup.py (limited to 'moon-abe/cpabe-0.11/cpabe-setup.py') diff --git a/moon-abe/cpabe-0.11/cpabe-setup.py b/moon-abe/cpabe-0.11/cpabe-setup.py deleted file mode 100644 index a1d82c9f..00000000 --- a/moon-abe/cpabe-0.11/cpabe-setup.py +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/python -import os.path -import sys -from subprocess import call - -c_prog = "cpabe-setup" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - call([c_prog]) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - call(["./" + c_prog]) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") -- cgit 1.2.3-korg