Bug 4172 - Cumbersome to append values using tl-config
Summary: Cumbersome to append values using tl-config
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.2.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-02 10:23 CET by Peter Åstrand
Modified: 2022-10-12 13:28 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2012-02-02 10:23:48 CET
It's common that you want to add something to a certain Hiveconf parameter. This can be done with a command such as:

tl-config /vsmagent/xserver_args="`tl-config /vsmagent/xserver_args` -IdleTimeout=60"

This is obviously quite clumsy. It would be nive if you could write something like this instead:

tl-config /vsmagent/xserver_args+="-IdleTimeout=60"
Comment 1 Pierre Ossman cendio 2022-09-28 14:50:12 CEST
Note that this is very non-trivial as a dumb concatenation of strings will likely produce the wrong result, and assuming that an initial space should always be implied is also dangerous (e.g., we have comma separated values in some places).

Note You need to log in before you can comment on or make changes to this bug.