aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/manifest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v2/manifest.rb')
-rw-r--r--lib/sisu/v2/manifest.rb11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/sisu/v2/manifest.rb b/lib/sisu/v2/manifest.rb
index 829ce03b..c8dd3753 100644
--- a/lib/sisu/v2/manifest.rb
+++ b/lib/sisu/v2/manifest.rb
@@ -83,14 +83,13 @@ module SiSU_Manifest
xbrowser=@env.program.web_browser
browser=@env.program.console_web_browser
webserv_url=@env.path.url.output_tell
- url_html="#{webserv_url}/#{@md.fnb}/#{@md.fn[:manifest]}"
unless @opt.cmd =~/q/
+ url_html="#{webserv_url}/#{@md.fnb}/#{@md.fn[:manifest]}"
@opt.cmd=~/[MVvz]/ \
? SiSU_Screen::Ansi.new(@opt.cmd,'Manifest',"#{xbrowser} #{url_html}").green_hi_blue \
: SiSU_Screen::Ansi.new(@opt.cmd,'Manifest',@opt.fns).green_title_hi
+ SiSU_Screen::Ansi.new(@opt.cmd,"#{browser} #{url_html}").grey_tab if @opt.cmd =~/v/i
end
- tell=SiSU_Screen::Ansi.new(@opt.cmd,"#{browser} #{url_html}")
- tell.grey_tab if @opt.cmd =~/v/i
data=SiSU_HTML::Source::Html_environment.new(@particulars).tuned_file_instructions
Output_Info.new(@md).check_output(data)
rescue; SiSU_Errors::Info_error.new($!,$@,@opt.cmd,@opt.fns).error
@@ -137,8 +136,7 @@ module SiSU_Manifest
dgst =if @dg =~/^sha(?:2|256)$/; sys.sha256("#{@base_path_src}/#{file}")
else sys.md5("#{@base_path_src}/#{file}")
end
- tell=SiSU_Screen::Ansi.new(@md.cmd,"#{dgst[1]} #{file}")
- tell.warn if @md.cmd =~/[vVM]/
+ SiSU_Screen::Ansi.new(@md.cmd,"#{dgst[1]} #{file}").warn if @md.cmd =~/[vVM]/
size=(File.size("#{@base_path_src}/#{file}")/1024.00).to_s
kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1]
@manifest[:txt] << "#{file} #{id} #{kb}\n"
@@ -150,8 +148,7 @@ module SiSU_Manifest
dgst =if @dg =~/^sha(?:2|256)$/; sys.sha256("#{@base_path_pod}/#{file}")
else sys.md5("#{@base_path_pod}/#{file}")
end
- tell=SiSU_Screen::Ansi.new(@md.cmd,"#{dgst[1]} #{file}")
- tell.warn if @md.cmd =~/[vVM]/
+ SiSU_Screen::Ansi.new(@md.cmd,"#{dgst[1]} #{file}").warn if @md.cmd =~/[vVM]/
size=(File.size("#{@base_path_pod}/#{file}")/1024.00).to_s
kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1]
@manifest[:txt] << "#{file} #{id} #{kb}\n"