create ~/.config when it does not exist

This commit is contained in:
2025-05-06 12:48:12 +02:00
parent 1c3c02ccad
commit 888a898dde

View File

@ -314,7 +314,10 @@ def do_feeder():
"""history feeder"""
if check_repo(home, 'sehistory', None, 'master'):
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():