mirror of https://git.envs.net/envs/burrow.git
if root dir exists, create folders from there as defined
This commit is contained in:
parent
d2543cccab
commit
23c2a9909f
5
burrow
5
burrow
|
@ -431,7 +431,10 @@ make_post () {
|
||||||
create_rss="$6"
|
create_rss="$6"
|
||||||
|
|
||||||
check_directory "$config_dir_gopher"
|
check_directory "$config_dir_gopher"
|
||||||
check_directory "${config_dir_gopher}${post_type}"
|
|
||||||
|
if [ ! -d "${config_dir_gopher}${post_type}" ]; then
|
||||||
|
mkdir -p "${config_dir_gopher}${post_type}"
|
||||||
|
fi
|
||||||
|
|
||||||
printf "%s" "$query"
|
printf "%s" "$query"
|
||||||
read -r title
|
read -r title
|
||||||
|
|
Loading…
Reference in New Issue