diff options
Diffstat (limited to 'lib/sisu/v2/remote.rb')
| -rw-r--r-- | lib/sisu/v2/remote.rb | 24 | 
1 files changed, 8 insertions, 16 deletions
| diff --git a/lib/sisu/v2/remote.rb b/lib/sisu/v2/remote.rb index b46202b7..4efe1770 100644 --- a/lib/sisu/v2/remote.rb +++ b/lib/sisu/v2/remote.rb @@ -70,43 +70,35 @@ module SiSU_Remote        @remote=SiSU_Env::Info_remote.new(@opt)      end      def rsync -      tell=SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->',@put) -      tell.dark_grey_title_hi unless @opt.cmd =~/q/ +      SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->',@put).dark_grey_title_hi unless @opt.cmd =~/q/        @remote.rsync      end      def rsync_base -      tell=SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->','rsync') -      tell.dark_grey_title_hi unless @opt.cmd =~/q/ +      SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->','rsync').dark_grey_title_hi unless @opt.cmd =~/q/        @remote.rsync_base      end      def rsync_base_sync -      tell=SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->','rsync and sync') -      tell.dark_grey_title_hi unless @opt.cmd =~/q/ +      SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->','rsync and sync').dark_grey_title_hi unless @opt.cmd =~/q/        @remote.rsync_base_sync      end      def rsync_sitemaps -      tell=SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement sitemaps ->','rsync') -      tell.dark_grey_title_hi unless @opt.cmd =~/q/ +      SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement sitemaps ->','rsync').dark_grey_title_hi unless @opt.cmd =~/q/        @remote.rsync_sitemaps      end      def rsync_harvest -      tell=SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement metadata harvest ->','rsync_harvest') -      tell.dark_grey_title_hi unless @opt.cmd =~/q/ +      SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement metadata harvest ->','rsync_harvest').dark_grey_title_hi unless @opt.cmd =~/q/        @remote.rsync_harvest      end      def scp -      tell=SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->',@put) -      tell.dark_grey_title_hi unless @opt.cmd =~/q/ +      SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->',@put).dark_grey_title_hi unless @opt.cmd =~/q/        @remote.scp      end      def scp_base -      tell=SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement of base site ->','excluding images') -      tell.dark_grey_title_hi unless @opt.cmd =~/q/ +      SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement of base site ->','excluding images').dark_grey_title_hi unless @opt.cmd =~/q/        @remote.scp_base      end      def scp_base_all -      tell=SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->','complete') -      tell.dark_grey_title_hi unless @opt.cmd =~/q/ +      SiSU_Screen::Ansi.new(@opt.cmd,'Remote placement ->','complete').dark_grey_title_hi unless @opt.cmd =~/q/        @remote.scp_base_all      end    end | 
