#!/sbin/sh

########
#  Product: GraphicsPHIGSDK
#  Fileset: PHIGS-MAN
#  postinstall
#  @(#) $Revision: 206.1 $
########
#
# (c) Copyright Hewlett-Packard Company, 1993
#
########

	UTILS="/usr/lbin/sw/control_utils"

	if [[ ! -f $UTILS ]]
	then
		echo "ERROR: Cannot find $UTILS"
		exit 1
	fi

	. $UTILS

	exitval=$SUCCESS

################################################################################
#set -x # For debugging purposes.  _Never_ ship uncommented!!

	##
	## Set up local environment variables
	##

	SW_INSTALL_DIR="/"
	
	##
	## Test to see if either SW_ROOT_DIRECTORY or SW_LOCATION is
	## set to something other than /.  If so, set up SW_INSTALL_DIR
	## so it will not have spurious /'s in the path name.
	##
	
	if [ $SW_ROOT_DIRECTORY != / -o $SW_LOCATION != / ]
	then
		if [ $SW_ROOT_DIRECTORY != / ]
		then
			if [ $SW_LOCATION != / ]
			then
				SW_INSTALL_DIR="${SW_ROOT_DIRECTORY}${SW_LOCATION}"
			else
				SW_INSTALL_DIR="${SW_ROOT_DIRECTORY}"
			fi
		else
			if [ $SW_LOCATION != / ]
			then
				SW_INSTALL_DIR="${SW_LOCATION}"
			fi
		fi
	fi

	PHIGS_DIR="$SW_INSTALL_DIR"

	##
	## Determine if the system has long file names
	##
	PPID="$$"
	LONG_NAME="${PHIGS_DIR}share/man/man3.Z/$PPID._hp_a_very_long_file_name"
	SHORT_NAME="${PHIGS_DIR}share/man/man3.Z/$PPID._hp_a_"

	echo "" > $LONG_NAME > /dev/null 2>&1

	FILENAME="`ls ${SHORT_NAME}*`"

	rm ${SHORT_NAME}* > /dev/null 2>&1

	if [ "$FILENAME" != "$LONG_NAME" ]
	then
		echo "WARNING: HP-PHIGS FORTRAN Binding PHIGS PLUS users:"
		echo "         Cannot access some of the the online PHIGS"
		echo "         PLUS man pages from previous HP-PHIGS"
		echo "         releases via *_old man page names unless your"
		echo "         system has long filenames enabled.  Until you"
		echo "         update to long filenames, you can only get"
		echo "         these man pages via *_old up to a length of"
		echo "         11 characters.  See the Release Notes or"
		echo "         Appendix C in the Reference manual for an"
		echo "         explanation of the *_old mechanism."

		echo "WARNING: HP-PHIGS C Binding users:"
		echo "         Cannot access the online man pages using the"
		echo "         C Binding function names unless your system"
		echo "         has long filenames enabled.  Until you update"
		echo "         to long filenames, you must use the FORTRAN"
		echo "         Binding names.  Use the phigs_intro(3G) man"
		echo "         page to find the equivalent FORTRAN Binding"
		echo "         name."

		echo "NOTE:    Use convertfs(1M) to convert your system to"
		echo "         long filenames; then re-install the GraphicsPHIGSDK"
		echo "         product"

		exitval=$WARNING
	else
		##
		## long file name system
		##
		##echo "NOTE:    Linking C Binding names to FORTRAN Binding man pages."

		set -- 	pads 		padd_names_set \
			pap		pappl_data \
			parast		par_all_structs \
			parsn		par_struct_nets  \
			parst		par_structs  \
			patr		panno_text_rel \
			patr3		panno_text_rel3 \
			pbltm		pbuild_tran_matrix \
			pbltm3		pbuild_tran_matrix3 \
			pbsc3		pnon_uniform_b_spline_curve3  \
			pbss3		pnon_uniform_b_spline_surf3  \
			pca		pcell_array  \
			pca3		pcell_array3  \
			pcelst		pcopy_all_elems_struct \
			pclarf		pclose_ar_file \
			pclph		pclose_phigs \
			pclst		pclose_struct \
			pclwk		pclose_ws \
			pcom		pcompose_matrix \
			pcom3		pcompose_matrix3 \
			pcotm		pcompose_tran_matrix \
			pcotm3		pcompose_tran_matrix3 \
			pcreate_sto	pcreate_store \
			pcstid		pchange_struct_id \
			pcstir		pchange_struct_id_refs \
			pcstrf		pchange_struct_refs \
			pdas		pdel_all_structs \
			pdasar		pdel_all_structs_ar \
			pdel		pdel_elem \
			pdellb		pdel_elems_labels \
			pdelra		pdel_elem_range \
			pdsn		pdel_struct_net \
			pdsnar		pdel_struct_nets_ar  \
			pdst		pdel_struct \
			pdstar		pdel_structs_ar  \
			peclph		pemergency_close_phigs \
			pels		pelem_search \
			pemst		pempty_struct \
			perhnd		perr_hand \
			perlog		perr_log \
			pesc		pescape \
			pevmm		peval_view_map_matrix \
			pevmm3		peval_view_map_matrix3 \
			pevom		peval_view_ori_matrix \
			pevom3		peval_view_ori_matrix3 \
			pexst		pexec_struct \
			pfa		pfill_area \
			pfa3		pfill_area3 \
			pfas		pfill_area_set \
			pfas3		pfill_area_set3 \
			pfas3d		pfill_area_set3_data  \
			pflush		pflush_events \
			pgtch		pget_choice \
			pgtitm		pget_item_type  \
			pgtlc		pget_loc \
			pgtlc3		pget_loc3 \
			pgtpk		pget_pick \
			pgtsk		pget_stroke \
			pgtsk3		pget_stroke3 \
			pgtst		pget_string \
			pgtvl		pget_val \
			piitm		pinterpret_item  \
			pinch		pinit_choice \
			pinch3		pinit_choice3 \
			pinlc		pinit_loc \
			pinlc3		pinit_loc3 \
			pinpk		pinit_pick \
			pinpk3		pinit_pick3 \
			pinsk		pinit_stroke \
			pinsk3		pinit_stroke3 \
			pinst		pinit_string \
			pinst3		pinit_string3 \
			pinvl		pinit_val \
			pinvl3		pinit_val3 \
			piss		pincr_spa_search  \
			piss3		pincr_spa_search3  \
			plb		plabel \
			pmsg		pmessage \
			poparf		popen_ar_file \
			popph		popen_phigs \
			popst		popen_struct \
			popwk		popen_ws \
			posep		poffset_elem_ptr \
			ppl		ppolyline \
			ppl3		ppolyline3 \
			ppls3c		ppolyline_set3_colr  \
			ppm		ppolymarker \
			ppm3		ppolymarker3 \
			ppost		ppost_struct \
			pqanf		pinq_anno_facs \
			pqarf		pinq_ar_files \
			pqars		pinq_ar_st \
			pqbssf		pinq_b_spline_surf_facs  \
			pqceco		pinq_cur_elem_content \
			pqcets		pinq_cur_elem_type_size \
			pqcf		pinq_colr_facs \
			pqchs		pinq_choice_st \
			pqchs3		pinq_choice_st3 \
			pqcmd		pinq_colr_model \
			pqcmdf		pinq_colr_model_facs \
			pqcmf		pinq_colr_map_facs  \
			pqcmmf		pinq_colr_map_method_facs  \
			pqcmr		pinq_colr_map_rep  \
			pqcms		pinq_colr_map_st  \
			pqcnrs		pinq_conf_res \
			pqcr		pinq_colr_rep \
			pqcst		pinq_all_conf_structs  \
			pqcstn		pinq_conf_structs_net  \
			pqcvf		pinq_curve_facs  \
			pqdcf		pinq_depth_cue_facs  \
			pqdch		pinq_def_choice_data \
			pqdch3		pinq_def_choice_data3 \
			pqdcmf		pinq_direct_colr_model_facs  \
			pqdcr		pinq_depth_cue_rep  \
			pqdcwp		pinq_dyns_ws_attrs_plus  \
			pqddus		pinq_def_disp_upd_st \
			pqdlc		pinq_def_loc_data \
			pqdlc3		pinq_def_loc_data3 \
			pqdmf		pinq_data_map_facs \
			pqdp		pinq_num_disp_pris \
			pqdpk		pinq_def_pick_data \
			pqdpk3		pinq_def_pick_data3 \
			pqdsk		pinq_def_stroke_data \
			pqdsk3		pinq_def_stroke_data3 \
			pqdsp		pinq_disp_space_size \
			pqdsp3		pinq_disp_space_size3 \
			pqdst		pinq_def_string_data \
			pqdst3		pinq_def_string_data3 \
			pqdstr		pinq_dyns_structs \
			pqdswa		pinq_dyns_ws_attrs \
			pqdus		pinq_disp_upd_st \
			pqdvl		pinq_def_val_data \
			pqdvl3		pinq_def_val_data3 \
			pqeci		pinq_list_colr_inds \
			pqecmi		pinq_list_colr_map_inds  \
			pqeco		pinq_elem_content \
			pqedci		pinq_list_depth_cue_inds  \
			pqedf		pinq_edge_facs \
			pqedm		pinq_edit_mode \
			pqedp		pinq_edge_rep_plus  \
			pqedr		pinq_edge_rep \
			pqeedi		pinq_list_edge_inds \
			pqegd3		pinq_list_avail_gdp3 \
			pqegdp		pinq_list_avail_gdp \
			pqegse		pinq_list_avail_gse \
			pqeii		pinq_list_int_inds \
			pqelsi		pinq_list_light_source_inds  \
			pqep		pinq_elem_ptr \
			pqepai		pinq_list_pat_inds  \
			pqepli		pinq_list_line_inds \
			pqepmi		pinq_list_marker_inds \
			pqepsi		pinq_list_param_surf_inds \
			pqerfi		pinq_list_refl_inds \
			pqerhm		pinq_err_hand_mode \
			pqets		pinq_elem_type_size \
			pqetxi		pinq_list_text_inds \
			pqevwi		pinq_list_view_inds \
			pqewk		pinq_list_avail_ws_types \
			pqgdp		pinq_gdp \
			pqgdp3		pinq_gdp3 \
			pqgsef		pinq_gse_facs \
			pqhlft		pinq_highl_filter \
			pqhrif		pinq_hlhsr_id_facs \
			pqhrm		pinq_hlhsr_mode \
			pqhrmf		pinq_hlhsr_mode_facs \
			pqif		pinq_int_facs \
			pqifp 		pinq_int_facs_plus  \
			pqip		pinq_int_rep_plus  \
			pqiqov		pinq_in_overf \
			pqir		pinq_int_rep \
			pqivft		pinq_invis_filter \
			pqlcs		pinq_loc_st \
			pqlcs3		pinq_loc_st3 \
			pqli		pinq_num_avail_in \
			pqlsf		pinq_light_source_facs  \
			pqlsr		pinq_light_source_rep  \
			pqm3d		pquad_mesh3_data  \
			pqmclf		pinq_model_clip_facs \
			pqopst		pinq_open_struct \
			pqopwk		pinq_open_wss \
			pqpaf		pinq_pat_facs \
			pqpan		pinq_paths_ances \
			pqpar		pinq_pat_rep  \
			pqpcmr		pinq_pred_colr_map_rep  \
			pqpcr		pinq_pred_colr_rep \
			pqpdcr		pinq_pred_depth_cue_rep  \
			pqpde		pinq_paths_descs \
			pqpedp		pinq_pred_edge_rep_plus  \
			pqpedr		pinq_pred_edge_rep \
			pqphf		pinq_phigs_facs \
			pqpip		pinq_pred_int_rep_plus  \
			pqpir		pinq_pred_int_rep \
			pqpks		pinq_pick_st \
			pqpks3		pinq_pick_st3 \
			pqplf		pinq_line_facs \
			pqplfp		pinq_line_facs_plus  \
			pqplp		pinq_line_rep_plus  \
			pqplr		pinq_line_rep \
			pqplsr		pinq_pred_light_source_rep  \
			pqpmf		pinq_marker_facs \
			pqpmp		pinq_marker_rep_plus  \
			pqpmr		pinq_marker_rep \
			pqpost		pinq_posted_structs \
			pqppar		pinq_pred_pat_rep  \
			pqpplp		pinq_pred_line_rep_plus  \
			pqpplr		pinq_pred_line_rep \
			pqppmp		pinq_pred_marker_rep_plus  \
			pqppmr		pinq_pred_marker_rep \
			pqppsr		pinq_pred_param_surf_rep  \
			pqprfr		pinq_pred_refl_rep  \
			pqpsf		pinq_param_surf_facs  \
			pqpsr		pinq_param_surf_rep  \
			pqptxp		pinq_pred_text_rep_plus  \
			pqptxr		pinq_pred_text_rep \
			pqpvwr		pinq_pred_view_rep \
			pqrcmf		pinq_rend_colr_model_facs  \
			pqrff		pinq_refl_facs  \
			pqrfr		pinq_refl_rep  \
			pqsid		pinq_struct_ids \
			pqsim		pinq_more_simult_events \
			pqsks		pinq_stroke_st \
			pqsks3		pinq_stroke_st3 \
			pqstrs		pinq_struct_st \
			pqsts		pinq_string_st \
			pqsts3		pinq_string_st3 \
			pqstst		pinq_struct_status \
			pqsys		pinq_sys_st \
			pqtcf		pinq_trim_curve_facs  \
			pqtxf		pinq_text_facs \
			pqtxp		pinq_text_rep_plus  \
			pqtxr		pinq_text_rep \
			pqtxx		pinq_text_extent  \
			pqvls		pinq_val_st \
			pqvls3		pinq_val_st3 \
			pqvwf		pinq_view_facs \
			pqvwr		pinq_view_rep \
			pqwkc		pinq_ws_conn_type \
			pqwkca		pinq_ws_cat \
			pqwkcl		pinq_ws_class \
			pqwkpo		pinq_wss_posted \
			pqwksl		pinq_ws_st_table \
			pqwkst		pinq_ws_st \
			pqwkt		pinq_ws_tran \
			pqwkt3		pinq_ws_tran3 \
			pqwslp		pinq_ws_st_table_length_plus  \
			prast		pret_all_structs \
			prditm		pread_item  \
			prepan		pret_paths_ances  \
			prepde		pret_paths_descs  \
			pres		premove_names_set \
			presn		pret_struct_nets  \
			prest		pret_structs  \
			prmcv		prestore_model_clip_vol \
			pro		protate \
			prox		protate_x \
			proy		protate_y \
			proz		protate_z \
			prqch		preq_choice \
			prqlc		preq_loc \
			prqlc3		preq_loc3 \
			prqpk		preq_pick \
			prqsk		preq_stroke \
			prqsk3		preq_stroke3 \
			prqst		preq_string \
			prqvl		preq_val \
			prsid		pret_struct_ids \
			prst		predraw_all_structs \
			psans		pset_anno_style \
			psatal		pset_anno_align \
			psatch		pset_anno_char_ht \
			psatcu		pset_anno_char_up_vec \
			psatp		pset_anno_path \
			psbic		pset_back_int_colr  \
			psbii		pset_back_int_ind  \
			psbis		pset_back_int_style  \
			psbisi		pset_back_int_style_ind  \
			psbism		pset_back_int_shad_method  \
			psbrfi		pset_back_refl_ind  \
			psbrfm		pset_back_refl_model  \
			psbrfp		pset_back_refl_props  \
			psc		pscale \
			psc3		pscale3 \
			pscac		pset_curve_approx_crit  \
			pschh		pset_char_ht \
			pschm		pset_choice_mode \
			pschsp		pset_char_space \
			pschup		pset_char_up_vec \
			pschxp		pset_char_expan \
			pscmd		pset_colr_model \
			pscmi		pset_colr_map_ind  \
			pscmr		pset_colr_map_rep  \
			pscnrs		pset_conf_res \
			pscr		pset_colr_rep \
			psdci		pset_depth_cue_ind  \
			psdcr		pset_depth_cue_rep  \
			psdus		pset_disp_upd_st \
			psedc		pset_edge_colr  \
			psedci		pset_edge_colr_ind \
			psedfg		pset_edge_flag \
			psedi		pset_edge_ind \
			psedm		pset_edit_mode \
			psedp		pset_edge_rep_plus  \
			psedr		pset_edge_rep \
			psedt		pset_edgetype \
			psep		pset_elem_ptr \
			pseplb		pset_elem_ptr_label \
			pserhm		pset_err_hand_mode \
			pset_err_ha	pset_err_hand \
			psewsc		pset_edgewidth \
			psfas3		pset_of_fill_area_sets3_data  \
			psfcm		pset_facet_cull_mode  \
			psfdm		pset_facet_disting_mode  \
			psgmt		pset_global_tran \
			psgmt3		pset_global_tran3 \
			pshlft		pset_highl_filter \
			pshrid		pset_hlhsr_id \
			pshrm		pset_hlhsr_mode \
			psiasf		pset_indiv_asf \
			psic		pset_int_colr  \
			psici		pset_int_colr_ind \
			psii		pset_int_ind \
			psip		pset_int_rep_plus  \
			psir		pset_int_rep \
			psis		pset_int_style \
			psisi		pset_int_style_ind \
			psism		pset_int_shad_method  \
			psivft		pset_invis_filter \
			pslcm		pset_loc_mode \
			pslmt		pset_local_tran \
			pslmt3		pset_local_tran3 \
			psln		pset_linetype \
			pslsr		pset_light_source_rep  \
			pslss		pset_light_source_st  \
			pslwsc		pset_linewidth \
			psmch		psample_choice \
			psmcli		pset_model_clip_ind \
			psmcv		pset_model_clip_vol \
			psmcv3		pset_model_clip_vol3 \
			psmk		pset_marker_type \
			psmksc		pset_marker_size \
			psmlc		psample_loc \
			psmlc3		psample_loc3 \
			psmpk		psample_pick \
			psmsk		psample_stroke \
			psmsk3		psample_stroke3 \
			psmst		psample_string \
			psmvl		psample_val \
			pspa		pset_pat_size  \
			pspar		pset_pat_rep  \
			psparf		pset_pat_ref_point  \
			pspkft		pset_pick_filter \
			pspkid		pset_pick_id \
			pspkm		pset_pick_mode \
			psplc		pset_line_colr  \
			psplci		pset_line_colr_ind \
			pspli		pset_line_ind \
			psplp		pset_line_rep_plus  \
			psplr		pset_line_rep \
			psplsm		pset_line_shad_method  \
			pspmc		pset_marker_colr  \
			pspmci		pset_marker_colr_ind \
			pspmi		pset_marker_ind \
			pspmp		pset_marker_rep_plus  \
			pspmr		pset_marker_rep \
			psprpv		pset_pat_ref_point_vecs  \
			pspsc		pset_param_surf_chars  \
			pspsi		pset_param_surf_ind  \
			pspsr		pset_param_surf_rep  \
			psrfi		pset_refl_ind  \
			psrfm		pset_refl_model  \
			psrfp		pset_refl_props  \
			psrfr		pset_refl_rep  \
			pssac		pset_surf_approx_crit  \
			psskm		pset_stroke_mode \
			psstm		pset_string_mode \
			pstxal		pset_text_align \
			pstxc		pset_text_colr  \
			pstxci		pset_text_colr_ind \
			pstxfn		pset_text_font \
			pstxi		pset_text_ind \
			pstxp		pset_text_path \
			pstxpr		pset_text_prec \
			pstxr		pset_text_rep \
			pstxrp		pset_text_rep_plus  \
			psvlm		pset_val_mode \
			psvtip		pset_view_tran_in_pri \
			psvwi		pset_view_ind \
			psvwr		pset_view_rep \
			psvwr3		pset_view_rep3 \
			pswkv		pset_ws_vp \
			pswkv3		pset_ws_vp3 \
			pswkw		pset_ws_win \
			pswkw3		pset_ws_win3 \
			ptp		ptran_point \
			ptp3		ptran_point3 \
			ptr		ptranslate \
			ptr3		ptranslate3 \
			ptst3d		ptri_strip3_data  \
			ptx		ptext \
			ptx3		ptext3 \
			pu010		pgdp_u10 \
			pu011		pgdp_u11 \
			pu012		pgdp_u12 \
			pu013		pgdp_u13 \
			pu014		pgdp_u14 \
			pu3012		pgdp3_u12 \
			pu3013		pgdp3_u13 \
			pue001		pescape_u1 \
			pue002		pescape_u2 \
			pue003		pescape_u3 \
			pue004		pescape_u4 \
			pue005		pescape_u5 \
			pue200		pescape_u200 \
			pue201		pescape_u201 \
			pue202		pescape_u202 \
			pue203		pescape_u203 \
			pue204		pescape_u204 \
			pue205		pescape_u205 \
			pue210		pescape_u210 \
			pue211		pescape_u211 \
			pue212		pescape_u212 \
			pue213		pescape_u213 \
			pue220		pescape_u220 \
			pue221		pescape_u221 \
			pue222		pescape_u222 \
			pue230		pescape_u230 \
			pue231		pescape_u231 \
			pue232		pescape_u232 \
			pue233		pescape_u233 \
			pue234		pescape_u234 \
			pue235		pescape_u235 \
			pue236		pescape_u236 \
			pue240		pescape_u240 \
			pue241		pescape_u241 \
			pue242		pescape_u242 \
			pue250		pescape_u250 \
			pue251		pescape_u251 \
			pue252		pescape_u252 \
			pue254		pescape_u254 \
			pue270		pescape_u270 \
			pue271		pescape_u271 \
			pue272		pescape_u272 \
			pue273		pescape_u273 \
			pue274		pescape_u274 \
			pue275		pescape_u275 \
			pue282		pescape_u282  \
			pue300		pescape_u300 \
			pue301		pescape_u301 \
			pue310		pescape_u310 \
			pue311		pescape_u311 \
			pue320		pescape_u320 \
			pue330		pescape_u330 \
			pue331		pescape_u331 \
			pue332		pescape_u332 \
			pue333		pescape_u333 \
			pue334		pescape_u334 \
			pue335		pescape_u335 \
			pue336		pescape_u336 \
			pue450		pescape_u450 \
			pue451		pescape_u451 \
			pue501		pescape_u501 \
			pue502		pescape_u502 \
			pue503		pescape_u503 \
			pue504		pescape_u504 \
			pue511		pescape_u511 \
			pue512		pescape_u512 \
			pue513		pescape_u513 \
			pue514		pescape_u514 \
			pue515		pescape_u515 \
			pue516		pescape_u516 \
			pue517		pescape_u517 \
			pue521		pescape_u521 \
			pue522		pescape_u522 \
			pue523		pescape_u523 \
			pue526		pescape_u526 \
			pue527		pescape_u527 \
			pue528		pescape_u528 \
			pue531		pescape_u531 \
			pue532		pescape_u532 \
			pue533		pescape_u533 \
			pue534		pescape_u534 \
			pue535		pescape_u535 \
			pue536		pescape_u536 \
			pue550		pescape_u550 \
			pue551		pescape_u551 \
			pue552		pescape_u552 \
			pue553		pescape_u553 \
			pue600		pescape_u600 \
			pue601		pescape_u601 \
			pue640		pescape_u640 \
			pue641		pescape_u641 \
			pue642		pescape_u642 \
			pue643		pescape_u643 \
			pue644		pescape_u644 \
			pue660		pescape_u660 \
			pue661		pescape_u661 \
			pupast		punpost_all_structs \
			pupost		punpost_struct \
			pus001		pgse_u1 \
			pus002		pgse_u2  \
			pus003		pgse_u3 \
			pus004		pgse_u4 \
			pus005		pgse_u5 \
			pus006		pgse_u6  \
			pus007		pgse_u7  \
			pus008		pgse_u8  \
			pus009		pgse_u9  \
			pus010		pgse_u10  \
			puwk		pupd_ws \
			pwait		pawait_event \
			pwitm		pwrite_item \
			pqeco_app_o	pqeco_app_old \
			pqceco_app_	pqceco_app_old \
			phigs_old	phigs_intro_old \
			pels_old	pelem_search_old \
			pqeco_old	pinq_elem_content_old \
			pqceco_od	pinq_cur_elem_content_old \
			pqets_old	pinq_elem_type_size_old \
			pqcets_old	pinq_cur_elem_type_size_old \
			pqgdp_old	pinq_gdp_old \
			pqgdp3_old	pinq_gdp3_old \
			psiasf_old	pset_indiv_asf_old \
			pue007_old	pescape_u7_old

		PHIGS_MAN_DIR="${PHIGS_DIR}share/man/man3.Z"

		while [ $# -gt 0 ]
		do
			FORT_BNDG=$1
			C_BNDG=$2

			shift 2

			if [ -h ${PHIGS_MAN_DIR}/${C_BNDG}.3g ]
			then
					rm -f ${PHIGS_MAN_DIR}/${C_BNDG}.3g > /dev/null 2>&1
			fi
			if [ -f ${PHIGS_MAN_DIR}/${FORT_BNDG}.3g -a \
			   ! -f ${PHIGS_MAN_DIR}/${C_BNDG}.3g ]
			then 
			    ln ${PHIGS_MAN_DIR}/${FORT_BNDG}.3g \
					${PHIGS_MAN_DIR}/${C_BNDG}.3g > /dev/null 2>&1

				##
				## Add the file to the Installed Product Database
				## so it will be removed later.
				##

				IPD_addfile ${PHIGS_MAN_DIR}/${C_BNDG}.3g
			fi
		done
	fi

	exit $exitval
################################################################################
