mailcvt 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/runmailcvt +5 -0
- data/lib/mailcvt/version.rb +1 -1
- metadata +3 -3
data/bin/runmailcvt
CHANGED
@@ -31,6 +31,11 @@ isize=$(du -h $maildir | sed "s/\t.*$//g")
|
|
31
31
|
icount=$(find $maildir -type f -print | wc -l)
|
32
32
|
echo "[$(now)] working dir = $wdir, input = $maildir($isize, $icount), output = $dailydir"
|
33
33
|
|
34
|
+
if [[ $icount -eq 0 ]]; then
|
35
|
+
echo "[$(now)] exit because no mail found."
|
36
|
+
echo "-------------------------------------------------------------------------------"
|
37
|
+
fi
|
38
|
+
|
34
39
|
if [ ! -d $dailydir ]; then
|
35
40
|
echo "[$(now)] create daily output directory $dailydir"
|
36
41
|
mkdir $dailydir
|
data/lib/mailcvt/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailcvt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -121,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
segments:
|
123
123
|
- 0
|
124
|
-
hash:
|
124
|
+
hash: -34223562223436275
|
125
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
126
|
none: false
|
127
127
|
requirements:
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
segments:
|
132
132
|
- 0
|
133
|
-
hash:
|
133
|
+
hash: -34223562223436275
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
136
|
rubygems_version: 1.8.25
|