create ~/.config when it does not exist
This commit is contained in:
@ -314,7 +314,10 @@ def do_feeder():
|
|||||||
"""history feeder"""
|
"""history feeder"""
|
||||||
if check_repo(home, 'sehistory', None, 'master'):
|
if check_repo(home, 'sehistory', None, 'master'):
|
||||||
do('git pull')
|
do('git pull')
|
||||||
docopy('cfg/sehistory', join(home, '.config', 'sehistory'))
|
configdir = join(home, '.config')
|
||||||
|
if not exists(configdir):
|
||||||
|
do(f'mkdir -p {configdir}')
|
||||||
|
docopy(join(home, 'servicemanager/cfg/sehistory'), join(configdir, 'sehistory'))
|
||||||
|
|
||||||
|
|
||||||
def do_seweb():
|
def do_seweb():
|
||||||
|
Reference in New Issue
Block a user