DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

request script

   trap 'exit 3' 15
   

# determine if and where general executables should be placed ans=`ckyorn -d y \ -p "Should executables included in this package be installed" ` || exit $? if [ "$ans" = y ] then CLASSES="$CLASSES bin" NCMPBIN=`ckpath -d /usr/ncmp/bin -aoy \ -p "Where should executables be installed" ` || exit $? fi

# determine if emacs editor should be installed, and if it should # where should the associated macros be placed ans=`ckyorn -d y \ -p "Should emacs editor included in this package be installed" ` || exit $? if [ "$ans" = y ] then CLASSES="$CLASSES emacs" EMACS=`ckpath -d /usr/ncmp/lib/emacs -aoy \ -p "Where should emacs macros be installed" ` || exit $? fi

# determine if and where manual pages should be installed ans=`ckyorn \ -d y \ -p "Should manual pages associated with this package be installed" ` || exit $? if [ "$ans" = y ] then CLASSES="$CLASSES man" NCMPMAN=`ckpath -d /usr/ncmp/man -aoy \ -p "Where should manual pages be installed" ` || exit $? fi

# make parameters available to installation service, # and so to any other packaging scripts cat >$1 <<! CLASSES='$CLASSES' NCMPBIN='$NCMPBIN' EMACS='$EMACS' NCMPMAN='$NCMPMAN' !

exit 0


Next topic: 2. Device driver installation
Previous topic: prototype file

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003