diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-04-14 15:52:04 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-04-14 15:52:04 -0300 |
commit | 3084f9c67f3b0861f6cea8c06e21aef821f83908 (patch) | |
tree | 39cd5535fe47d3aeefdc383a805dc719f3d8ec63 | |
parent | 769e115a01f5bd373046275e65a41da52c05fcec (diff) | |
download | wrappers-3084f9c67f3b0861f6cea8c06e21aef821f83908.tar.gz wrappers-3084f9c67f3b0861f6cea8c06e21aef821f83908.tar.bz2 |
Check for other files and folders
-rwxr-xr-x | 8 | |||||
-rwxr-xr-x | news | 6 |
2 files changed, 12 insertions, 2 deletions
@@ -8,8 +8,14 @@ BASENAME="`basename $0`" # Check configuration if [ ! -e "$HOME/.custom/muttrc" ]; then - mkdir -p $HOME/.custom + mkdir -p $HOME/.custom/mutt touch $HOME/.custom/muttrc + touch $HOME/.custom/mutt/aliases +fi + +# Check INBOX +if [ ! -e "$HOME/mail/INBOX" ]; then + mkdir -p $HOME/mail/INBOX/{cur,new,tmp} fi # Dispatch @@ -12,7 +12,11 @@ if [ ! -e "$HOME/.custom/newsbeuter/config" ]; then touch $HOME/.custom/newsbeuter/config fi +# Check data folder +if [ ! -e "$HOME/.local/share/newsbeuter" ]; then + mkdir -p $HOME/.local/share/newsbeuter +fi + # Dispatch -#newsbeuter -X #newsbeuter torify newsbeuter |