From 9680068ed1eee6cab4367714213f8052145529b6 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 12 Aug 2014 00:11:35 -0400 Subject: v5 v6: hub, organisation & loose ends * tweak triggers * split file further * remove mod --- lib/sisu/v5/se_db.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sisu/v5/se_db.rb') diff --git a/lib/sisu/v5/se_db.rb b/lib/sisu/v5/se_db.rb index 3c6fdcba..fcb5fc0d 100644 --- a/lib/sisu/v5/se_db.rb +++ b/lib/sisu/v5/se_db.rb @@ -94,10 +94,10 @@ module SiSU_Info_Db def psql def user(opt=nil) if opt \ - and opt.selections.str.inspect =~/--db-user[=-]["']?(\S+)["']+/ + and opt.selections.str =~/--db-user[=-]["']?(\S+)["']+/ $1 elsif opt \ - and opt.mod =~/--webserv[=-]webrick/ + and opt.selections.str =~/--webserv[=-]webrick/ @env.user else ((defined? @rc['db']['postgresql']['user']) \ -- cgit v1.2.3