From bccc28841facca8ece8b0ecac5b5f04cd6c545e0 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 24 Aug 2001 20:45:42 +0000 Subject: [Bug 140] Sed consistencies git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1020 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/shadowpwd-inst.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chapter06/shadowpwd-inst.xml') diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index aa95add10..50a7f3d13 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -4,16 +4,16 @@ Install the Shadow Password Suite by running the following commands: - -sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \ -   src/useradd.c > useradd.c.temp && -mv -f useradd.c.temp src/useradd.c && +cp src/useradd.c src/useradd.c.backup && +sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \ +   src/useradd.c > tmp~ && +mv -f tmp~ src/useradd.c && ./configure --prefix=/usr && make && make install && cd etc && cp -f limits login.access /etc && -sed "s|/var/spool/mail|/var/mail|" login.defs.linux > /etc/login.defs +sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs -- cgit v1.2.3-54-g00ecf