diff options
author | Olivier Blin <blino@mageia.org> | 2011-05-19 20:40:42 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-05-19 20:40:42 +0000 |
commit | 2373e61f9aedf7ab32261e1f1d6e6e8e9586d19d (patch) | |
tree | 77e21e8effbbf322e54385731f703572d7407bd2 /perl-install/standalone | |
parent | aa9d92e5d8b91e7f67ae2ee0e253bc78f348e399 (diff) | |
download | drakx-backup-do-not-use-2373e61f9aedf7ab32261e1f1d6e6e8e9586d19d.tar drakx-backup-do-not-use-2373e61f9aedf7ab32261e1f1d6e6e8e9586d19d.tar.gz drakx-backup-do-not-use-2373e61f9aedf7ab32261e1f1d6e6e8e9586d19d.tar.bz2 drakx-backup-do-not-use-2373e61f9aedf7ab32261e1f1d6e6e8e9586d19d.tar.xz drakx-backup-do-not-use-2373e61f9aedf7ab32261e1f1d6e6e8e9586d19d.zip |
finish-install: do not try to replace home path for device files after
live install (#1148)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/finish-install | 2 |
1 files changed, 1 insertions, 1 deletions
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; |