From efa84759da225eb3ce9060045bda3fd1b24a3d53 Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 2 Sep 2017 10:20:19 -0400 Subject: [PATCH] UX teak --- gpg/sksdump.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpg/sksdump.py b/gpg/sksdump.py index 9766756..c03b9dd 100755 --- a/gpg/sksdump.py +++ b/gpg/sksdump.py @@ -50,8 +50,11 @@ sks = { } +## Make things a little more sensical/catch some common errors # symlinks? relative path? HOME reference? WE HANDLE IT ALL. sks['destdir'] = os.path.realpath(os.path.abspath(os.path.expanduser(sks['destdir']))) +if sks['compress'] == 'lrzip': + sks['compress'] == 'lrz' def svcMgmt(op): if op not in ('start', 'stop'):