This commit is contained in:
brent s 2017-09-02 10:20:19 -04:00
parent 86eba8b6ab
commit efa84759da

View File

@ -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'):