# # $Header: install-comp-directive.pl 05-aug-2005.12:03:44 pshroff Exp $ # # network_stage.pl # # Copyright (c) 2005, Oracle. All rights reserved. # # NAME # install_dummy.pl - # # DESCRIPTION # # # NOTES # # # MODIFIED (MM/DD/YY) # pshroff 08/05/05 - pshroff_stagepath_dirs # pshroff 06/30/05 - Creation # $ENV{PATH} = "/bin:/usr/bin:/usr/local/bin:/usr/sbin"; use strict; require "$ENV{EMDROOT}/sysman/admin/scripts/provisioning/provisionCommon.pl"; #Staging directive for network profile component main(); sub main() { print "Installing OracleHome\n"; my $command = "rpm -qa"; system($command); my $exitstatus = $? >> 8; if ($exitstatus != 0) { print "failed while getting RPMs\n"; exit $exitstatus; } my $mkdircommand = "mkdir -p /install/oh"; system($mkdircommand); $exitstatus = $? >> 8; if ($exitstatus != 0) { print "failed while creating oh dir\n"; exit $exitstatus; } }