diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-02-05 00:33:23 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-02-05 00:33:23 -0500 |
commit | 58041f0603b2a6b523db4aa70744c9570695de8f (patch) | |
tree | 407c78a5faab576672167385790fcd1cd7c40522 /lib/sisu/v6/sysenv.rb | |
parent | v5 v6: error/warn messages (diff) |
v5 v6: epub, odt, check availability of zip program
Diffstat (limited to 'lib/sisu/v6/sysenv.rb')
-rw-r--r-- | lib/sisu/v6/sysenv.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/sisu/v6/sysenv.rb b/lib/sisu/v6/sysenv.rb index 7e81b2f4..8f40212b 100644 --- a/lib/sisu/v6/sysenv.rb +++ b/lib/sisu/v6/sysenv.rb @@ -764,6 +764,14 @@ module SiSU_Env false end end + def zip #zip + program='zip' + program_ref="\n\t\tused to in the making of number of file formats, odf, epub" + if program_found?(program); true + else SiSU_Utils::CodeMarker.new(__LINE__,__FILE__,:fuchsia).mark("*WARN* #{program} is not installed #{program_ref}") + false + end + end def openssl #openssl for digests program='openssl' program_ref="\n\t\tused to generate requested source document identification digest" |