summaryrefslogtreecommitdiffstats
path: root/config/build.cfg
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-03-05 23:32:20 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-03-05 23:32:20 +0000
commit11dc6c20bc6c2f650eff0fd7654f674376e3ee50 (patch)
tree9fc75d990d6863a8410d46d26c30ea616d71213c /config/build.cfg
parent5d9e6b07bbb7de9fbb706cea05dbdaeff148dd45 (diff)
downloaddraklive-config-11dc6c20bc6c2f650eff0fd7654f674376e3ee50.tar
draklive-config-11dc6c20bc6c2f650eff0fd7654f674376e3ee50.tar.gz
draklive-config-11dc6c20bc6c2f650eff0fd7654f674376e3ee50.tar.bz2
draklive-config-11dc6c20bc6c2f650eff0fd7654f674376e3ee50.tar.xz
draklive-config-11dc6c20bc6c2f650eff0fd7654f674376e3ee50.zip
Use default_user setting in drakx-finish-install after live install.
Diffstat (limited to 'config/build.cfg')
-rw-r--r--config/build.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/build.cfg b/config/build.cfg
index a00ab83..1500e0a 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -279,7 +279,7 @@ my $_l = {
# Set default user name for draklive-install.
"echo $default_user > /etc/draklive-install.d/user",
- "perl -pi -e 's,<DEFAULT_USER>,$default_user,' /etc/draklive-install.d/sysconfig/finish-install",
+ "sed -i s/DEFAULT_USER/$default_user/ /etc/draklive-install.d/sysconfig/finish-install",
# Allow draklive-install to spawn subtasks that access the display.
"echo 'session optional pam_xauth.so # for draklive-install' >> /etc/pam.d/polkit-1",