|  | 
 |  | 
 | 
												
													
														| 40 |      local LogDir    # directory to store logs
 | 40 |      local LogDir    # directory to store logs
 | 
												
													
														| 41 |      local CdTo      # change dir to this before running imapfilter
 | 41 |      local CdTo      # change dir to this before running imapfilter
 | 
												
													
														| 42 |      CfgDir="$HOME/.imapdomo"
 | 42 |      CfgDir="$HOME/.imapdomo"
 | 
												
													
														| 43 | -    LogDir="$HOME/.cache/imapdomo/logs"
 |  | 
 | 
												
													
														|  | 
 | 43 | +    LogDir="$HOME/.local/share/imapdomo/logs"
 | 
												
													
														| 44 |      Debug=false
 | 44 |      Debug=false
 | 
												
													
														| 45 |      while true; do case $1 in
 | 45 |      while true; do case $1 in
 | 
												
													
														| 46 |          -c) CdTo="$2"; shift 2 || usage ;;
 | 46 |          -c) CdTo="$2"; shift 2 || usage ;;
 |