#!/bin/sh

#getnextdir  prompt user for the location of the directory to install fonts.

if [ "$INSTALLARCH" = NeXT -o "$INSTALLARCH" = NeXT-Intel -o "$INSTALLARCH" = NeXT-SPARC -o "$INSTALLARCH" = NeXT-HP ]; then

   printm NextMessage
   promptname=NextDir; defanswer=c; . printp;

   if [ .$curans = ".c" ]; then
       exit 1
   

   elif [ .$curans = ".a" ]; then
       echo "/NextLibrary/Fonts" > $ITMPDIR/NextFontLocation

   elif  [ .$curans = ".b" ]; then
       echo "/LocalLibrary/Fonts" > $ITMPDIR/NextFontLocation

   fi

else
   exit 1
fi
