parent
4376c3c779
commit
390f6e8d06
2 changed files with 10 additions and 7 deletions
|
@ -32,12 +32,15 @@ targetdir = 'target'
|
|||
if len(sys.argv) > 1:
|
||||
targetdir = sys.argv[1]
|
||||
|
||||
shutil.rmtree(os.path.join(targetdir, 'images'), ignore_errors=True)
|
||||
shutil.rmtree(os.path.join(targetdir, 'keycloak-images'), ignore_errors=True)
|
||||
shutil.rmtree(os.path.join(targetdir, 'rhsso-images'), ignore_errors=True)
|
||||
shutil.copytree('images',os.path.join(targetdir, 'images'))
|
||||
shutil.copytree('keycloak-images',os.path.join(targetdir, 'keycloak-images'))
|
||||
shutil.copytree('rhsso-images',os.path.join(targetdir, 'rhsso-images'))
|
||||
if os.path.exists(targetdir):
|
||||
shutil.rmtree(targetdir)
|
||||
|
||||
if os.path.isdir('images'):
|
||||
shutil.copytree('images',os.path.join(targetdir, 'images'))
|
||||
if os.path.isdir('keycloak-images'):
|
||||
shutil.copytree('keycloak-images',os.path.join(targetdir, 'keycloak-images'))
|
||||
if os.path.isdir('rhsso-images'):
|
||||
shutil.copytree('rhsso-images',os.path.join(targetdir, 'rhsso-images'))
|
||||
|
||||
tmp = os.path.join(targetdir, 'topics')
|
||||
if not os.path.exists(tmp):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
== Custom User Attributes
|
||||
|
||||
You can add custom user attributes to the registration page and account management console with a custom theme. This chapter describes how to add attributes
|
||||
to a custom theme, but you should refer to the link:themes.html[Themes] chapter on how to create a custom theme.
|
||||
to a custom theme, but you should refer to the <<fake/../themes.adoc#_themes,Themes>> chapter on how to create a custom theme.
|
||||
|
||||
=== Registration Page
|
||||
|
||||
|
|
Loading…
Reference in a new issue