From da4fdd67deb6c1dc6314c3a34902eef87ee7c35b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 19 May 2011 20:40:42 +0000 Subject: finish-install: do not try to replace home path for device files after live install (#1148) --- perl-install/standalone/finish-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/finish-install') diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index 09f62ab1d..9264436ad 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -170,7 +170,7 @@ sub ask_users() { #- replace home path in user config files my $old_home = "/home/$old_user"; my $new_home = "/home/$users->[0]{name}"; - run_program::run(qq(grep -rl $old_home $new_home/.??* | while read f; do perl -pi -e 's,$old_home,$new_home,g' "\$f"; done)); + run_program::run(qq(grep -D skip -rl $old_home $new_home/.??* | while read f; do perl -pi -e 's,$old_home,$new_home,g' "\$f"; done)); #- give console rights for current session my $console_dir = "/var/run/console"; cp_f($console_dir . "/" . $old_user, $console_dir . "/" . $users->[0]{name}) if -e $console_dir . "/" . $old_user; -- cgit v1.2.1