mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Add line brake to infinoted title
This commit is contained in:
parent
8ba763bf5a
commit
bb6e164d2a
@ -41,7 +41,7 @@ managed_services = ['infinoted']
|
||||
|
||||
managed_packages = ['infinoted']
|
||||
|
||||
title = _('Gobby Server (infinoted)')
|
||||
title = _('Gobby Server \n (infinoted)')
|
||||
|
||||
description = [
|
||||
_('infinoted is a server for Gobby, a collaborative text editor.'),
|
||||
|
||||
15
setup.py
15
setup.py
@ -22,7 +22,7 @@ Plinth setup file
|
||||
|
||||
from distutils import log
|
||||
from distutils.command.build import build
|
||||
from distutils.dir_util import remove_tree
|
||||
from distutils.dir_util import remove_tree,copy_tree
|
||||
from distutils.command.clean import clean
|
||||
from distutils.command.install_data import install_data
|
||||
from distutils.core import Command
|
||||
@ -44,8 +44,8 @@ DIRECTORIES_TO_CREATE = [
|
||||
]
|
||||
|
||||
DIRECTORIES_TO_COPY = [
|
||||
('/usr/share/plinth/static', 'static'),
|
||||
('/usr/share/doc/plinth', 'doc'),
|
||||
('/usr/share/plinth/static', 'static'),
|
||||
]
|
||||
|
||||
LOCALE_PATHS = [
|
||||
@ -143,15 +143,16 @@ class CustomInstallData(install_data):
|
||||
|
||||
# Recursively overwrite directories
|
||||
for target, source in DIRECTORIES_TO_COPY:
|
||||
|
||||
remove_tree(target)
|
||||
|
||||
if self.root:
|
||||
target = change_root(self.root, target)
|
||||
|
||||
if not os.path.exists(target):
|
||||
log.info("recursive copy '%s' to '%s'", source, target)
|
||||
shutil.copytree(source, target, symlinks=True)
|
||||
|
||||
if os.path.exists(target):
|
||||
remove_tree(target)
|
||||
|
||||
log.info("recursive copy '%s' to '%s'", source, target)
|
||||
shutil.copytree(source, target,symlinks=True)
|
||||
|
||||
|
||||
find_packages = setuptools.PEP420PackageFinder.find
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user