mirror of https://gitlab.com/bashrc2/epicyon
Prepend welcome
parent
dd22c42600
commit
d14ac581f7
6
theme.py
6
theme.py
|
@ -65,9 +65,9 @@ def _copyThemeHelpFiles(baseDir: str, themeName: str,
|
|||
continue
|
||||
destHelpMarkdownFile = \
|
||||
helpMarkdownFile.replace('_' + systemLanguage + '.md', '.md')
|
||||
print('Copying theme help: ' + \
|
||||
themeDir + '/' + helpMarkdownFile + ' -> ' + \
|
||||
baseDir + '/accounts/' + destHelpMarkdownFile)
|
||||
if destHelpMarkdownFile == 'profile.md' or \
|
||||
destHelpMarkdownFile == 'final.md':
|
||||
destHelpMarkdownFile = 'welcome_' + destHelpMarkdownFile
|
||||
copyfile(themeDir + '/' + helpMarkdownFile,
|
||||
baseDir + '/accounts/' + destHelpMarkdownFile)
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue