# # $Header: install/utl/chopt/chopt.pl /main/2 2010/06/13 11:43:55 poosrini Exp $ # # chopt.pl # # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # # NAME # chopt.pl - change (disable or enable) optional components # # DESCRIPTION # this perl script is invoked by chopt (shell script) or chopt.bat, found # in ORACLE_HOME/bin. # # execute ORACLE_HOME/bin/chopt to see usage details # # NOTES # # # MODIFIED (MM/DD/YY) # poosrini 06/12/10 - removing db check and shipping this in server cmp # dschrein 03/24/09 - normalize path delimiters # dschrein 03/11/09 - prohibit execution unless # oracle_install_db_InstallType is set # dschrein 03/10/09 - echo commands being run # dschrein 02/24/09 - creation # use File::Copy; my $ohome = '/oracle/EPP/11203'; $ohome =~ s,\\,/,g; my $ini = "$ohome/bin/chopt.ini"; my $logdir = "$ohome/install"; my $usage = "\nusage:\n\nchopt