Lines 1-23
Link Here
|
1 |
--- ../mlmmj-0.8.1.orig/src/mlmmj-make-ml.sh Fri Jun 25 02:05:43 2004 |
|
|
2 |
+++ src/mlmmj-make-ml.sh Sun Jun 27 20:31:18 2004 |
3 |
@@ -5,6 +5,7 @@ |
4 |
|
5 |
VERSION="0.1" |
6 |
DEFAULTDIR="/var/spool/mlmmj" |
7 |
+PREFIX="%%PREFIX%%" |
8 |
|
9 |
USAGE="mlmmj-make-ml "$VERSION" |
10 |
"$0" [OPTIONS] |
11 |
@@ -81,8 +82,11 @@ |
12 |
fi |
13 |
echo "$OWNER" > "$LISTDIR"/"control/owner" |
14 |
|
15 |
-echo -n "The path to texts for the list? (listtexts/ dir in the src) [] : " |
16 |
+echo -n "The path to texts for the list? (listtexts/ dir in the src) [$PREFIX/share/mlmmj/text.skel] : " |
17 |
read TEXTPATH |
18 |
+if [ -z "$TEXTPATH" ]; then |
19 |
+ TEXTPATH="$PREFIX/share/mlmmj/text.skel" |
20 |
+fi |
21 |
if [ -z "$TEXTPATH" -o ! -d "$TEXTPATH" ]; then |
22 |
echo "**NOTE** Could not copy the texts for the list" |
23 |
echo "Please manually copy the files from the listtexts/ directory" |