--- mlmmj-make-ml.sh    2004-11-04 17:37:14.000000000 +0000
+++ mlmmj-make-ml.gentoo.sh     2004-11-04 17:36:21.000000000 +0000
@@ -114,15 +114,24 @@
 ALIAS="$LISTNAME:  \"|$MLMMJRECIEVE -L $SPOOLDIR/$LISTNAME/\""
 CRONENTRY="0 */2 * * * \"$MLMMJMAINTD -F -L $SPOOLDIR/$LISTNAME/\""

+ALIASFILE="/etc/aliases"
+function ask_aliasfile {
+       echo "I can't find your mail alias file.  Please tell me where it is:"
+       read ALIASFILE
+}
+until [ -f $ALIASFILE ]; do
+    ask_aliasfile
+done
+
 if [ -n "$A_CREATE" ]; then
-       echo "I want to add the following to your /etc/aliases file:"
+       echo "I want to add the following to your $ALIASFILE file:"
        echo "$ALIAS"

        echo -n "is this ok? [y/N] : "
        read OKIDOKI
        case $OKIDOKI in
                y|Y)
-               echo "$ALIAS" >> /etc/aliases
+               echo "$ALIAS" >> $ALIASFILE
                ;;
                n|N)
                exit 0
@@ -132,7 +141,7 @@
        esac
 else
        echo
-       echo "Don't forget to add this to /etc/aliases:"
+       echo "Don't forget to add this to $ALIASFILE:"
        echo "$ALIAS"
 fi


