From f36527da919ea958ea071b2d38565784dd946b94 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 12 Aug 2002 19:38:03 +0000 Subject: - add setExportedVarsInSh and setExportedVarsInCsh - remove setVarsInCsh (obsoleted by setExportedVarsInCsh) --- perl-install/standalone.pm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'perl-install/standalone.pm') 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 { -- cgit v1.2.1