1
0

Check for encfs

This commit is contained in:
Noah 2014-02-28 17:03:54 -08:00
parent b93b2762d0
commit edeba09ba5

View File

@ -36,6 +36,11 @@ dropbox = os.path.join(home, "Dropbox")
encrypted = os.path.join(dropbox, ".vault") encrypted = os.path.join(dropbox, ".vault")
mount = os.path.join(home, "Dropbox Vault") mount = os.path.join(home, "Dropbox Vault")
# Test for enc-fs.
if subprocess.call("which encfs >/dev/null 2>&1", shell=True) != 0:
print("You require fuse-encfs to use this script.")
sys.exit(1)
if len(sys.argv) == 1: if len(sys.argv) == 1:
print("Usage: dbvault <action>") print("Usage: dbvault <action>")
print("") print("")