diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-12 19:38:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-12 19:38:03 +0000 |
commit | f36527da919ea958ea071b2d38565784dd946b94 (patch) | |
tree | 45e487ad1178b0ab1f74750ac58d44826e19b01f /perl-install/standalone.pm | |
parent | d0491365909800f8010c393eb3a0b99aaceb3b8d (diff) | |
download | drakx-backup-do-not-use-f36527da919ea958ea071b2d38565784dd946b94.tar drakx-backup-do-not-use-f36527da919ea958ea071b2d38565784dd946b94.tar.gz drakx-backup-do-not-use-f36527da919ea958ea071b2d38565784dd946b94.tar.bz2 drakx-backup-do-not-use-f36527da919ea958ea071b2d38565784dd946b94.tar.xz drakx-backup-do-not-use-f36527da919ea958ea071b2d38565784dd946b94.zip |
- add setExportedVarsInSh and setExportedVarsInCsh
- remove setVarsInCsh (obsoleted by setExportedVarsInCsh)
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r-- | perl-install/standalone.pm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 6dd1816c1..e6142fcbe 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -87,7 +87,7 @@ package standalone; my $standalone_name; sub explanations { c::syslog(c::LOG_INFO()|c::LOG_LOCAL1(), "@_") } -@common_functs = qw(renamef linkf symlinkf output substInFile mkdir_p rm_rf cp_af touch setVarsInSh setVarsInCsh update_gnomekderc); +@common_functs = qw(renamef linkf symlinkf output substInFile mkdir_p rm_rf cp_af touch setVarsInSh setExportedVarsInSh setExportedVarsInCsh update_gnomekderc); @builtin_functs = qw(chmod chown unlink link symlink rename system); @drakx_modules = qw(Xconfig::card Xconfig::default Xconfig::main Xconfig::monitor Xconfig::parse Xconfig::proprietary Xconfig::resolution_and_depth Xconfig::screen Xconfig::test Xconfig::various Xconfig::xfree Xconfig::xfree3 Xconfig::xfree4 Xconfig::xfreeX any bootloader bootlook c class_discard commands crypto detect_devices devices diskdrake diskdrake::hd_gtk diskdrake::interactive diskdrake::removable diskdrake::removable_gtk diskdrake::smbnfs_gtk fs fsedit http keyboard lang log loopback lvm modparm modules mouse my_gtk network network::adsl network::ethernet network::isdn_consts network::isdn network::modem network::netconnect network::network network::nfs network::smb network::tools partition_table partition_table_bsd partition_table::dos partition_table::empty partition_table::gpt partition_table::mac partition_table::raw partition_table::sun printer printerdrake proxy raid run_program scanner services steps swap timezone tinyfirewall); @@ -158,9 +158,14 @@ sub setVarsInSh { goto &MDK::Common::System::setVarsInSh; } -sub setVarsInCsh { +sub setExportedVarsInSh { explanations "modified file $_[0]"; - goto &MDK::Common::System::setVarsInCsh; + goto &MDK::Common::System::setExportedVarsInSh; +} + +sub setExportedVarsInCsh { + explanations "modified file $_[0]"; + goto &MDK::Common::System::setExportedVarsInCsh; } sub update_gnomekderc { |