mkdir fix
This commit is contained in:
parent
d10219deb3
commit
2fb43d2e47
2
bin/mw
2
bin/mw
@ -152,7 +152,7 @@ EOF
|
|||||||
[ -z "$login" ] && login="$fulladdr"
|
[ -z "$login" ] && login="$fulladdr"
|
||||||
getpass
|
getpass
|
||||||
getprofiles
|
getprofiles
|
||||||
mkdir -p "$muttdir" "$accdir/$title" "$cachedir/mutt-wizard/$title/cache/bodies" "$HOME/.config/msmtp"
|
mkdir -p "$muttdir" "$accdir/$title" "$cachedir/$title/cache/bodies" "$HOME/.config/msmtp"
|
||||||
getaccounts
|
getaccounts
|
||||||
for x in $(seq 1 9); do echo "$accounts" | grep "$x" >/dev/null 2>&1 || { export idnum="$x"; break ;}; done
|
for x in $(seq 1 9); do echo "$accounts" | grep "$x" >/dev/null 2>&1 || { export idnum="$x"; break ;}; done
|
||||||
[ ! -f "$HOME/.config/msmtp/config" ] && echo "$msmtp_header" > "$HOME/.config/msmtp/config"
|
[ ! -f "$HOME/.config/msmtp/config" ] && echo "$msmtp_header" > "$HOME/.config/msmtp/config"
|
||||||
|
Loading…
Reference in New Issue
Block a user