Lines 1064-1070
Link Here
|
1064 |
if [ ! -d "$BLOG_DIR" ]; then |
1064 |
if [ ! -d "$BLOG_DIR" ]; then |
1065 |
nb_msg "creating weblog directory '$BLOG_DIR' ..." |
1065 |
nb_msg "creating weblog directory '$BLOG_DIR' ..." |
1066 |
mkdir -p "$BLOG_DIR" |
1066 |
mkdir -p "$BLOG_DIR" |
1067 |
fi |
|
|
1068 |
if [ -d "$BLOG_DIR" ]; then |
1067 |
if [ -d "$BLOG_DIR" ]; then |
1069 |
> "$BLOG_DIR/.nb_new_weblog" |
1068 |
> "$BLOG_DIR/.nb_new_weblog" |
1070 |
nb_msg "copying default weblog files ..." |
1069 |
nb_msg "copying default weblog files ..." |
Lines 1091-1096
Link Here
|
1091 |
else |
1090 |
else |
1092 |
die "failed to create weblog directory!" |
1091 |
die "failed to create weblog directory!" |
1093 |
fi |
1092 |
fi |
|
|
1093 |
fi |
1094 |
check_config |
1094 |
check_config |
1095 |
# create a new category |
1095 |
# create a new category |
1096 |
if [ ! -z "$cat_num" ]; then |
1096 |
if [ ! -z "$cat_num" ]; then |