[libcalamares] Allow a @@USER@@ replacement in commands

- Following example in preservefiles module, allow @@USER@@
   in commands (e.g. to do something specific in the home-dir
   of the new user).
This commit is contained in:
Adriaan de Groot 2018-05-23 09:25:57 -04:00
parent b7890d865f
commit b5d900c1c6
3 changed files with 30 additions and 12 deletions

View file

@ -74,6 +74,9 @@ using CommandList_t = QList< CommandLine >;
* A list of commands; the list may have its own default timeout
* for commands (which is then applied to each individual command
* that doesn't have one of its own).
*
* Documentation for the format of commands can be found in
* `shellprocess.conf`.
*/
class CommandList : protected CommandList_t
{