summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-04-03 06:40:59 +0000
committerThierry Vignaud <tv@mandriva.org>2008-04-03 06:40:59 +0000
commit17e5420e2253dd4f00bd46919babcaafc004f524 (patch)
treeacd6d547e9ff20c15ae2f6238615eb5b6077a76e /perl-install/install/install2.pm
parent4af15017a550c2b365b1194430c98295030e9ca6 (diff)
downloaddrakx-17e5420e2253dd4f00bd46919babcaafc004f524.tar
drakx-17e5420e2253dd4f00bd46919babcaafc004f524.tar.gz
drakx-17e5420e2253dd4f00bd46919babcaafc004f524.tar.bz2
drakx-17e5420e2253dd4f00bd46919babcaafc004f524.tar.xz
drakx-17e5420e2253dd4f00bd46919babcaafc004f524.zip
enable to restore the system through rsnapshot if giving "restore" on cmdline
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index ab09f0874..dc59f62f5 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -372,6 +372,7 @@ sub main {
updatemodules => sub { $o->{updatemodules} = 1 },
suppl => sub { $o->{supplmedia} = 1 },
askmedia => sub { $o->{askmedia} = 1 },
+ restore => sub { $::isRestore = 1 },
}}{lc $n}; &$f if $f;
} %cmdline;