diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-09-13 19:16:23 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-09-13 19:16:23 -0400 |
commit | 705ccf77b4b61dca16137ada741d1765a52ca573 (patch) | |
tree | cddf4e395aa31580c296877ad70d2b90c2e86be3 /lib/sisu/v3/remote.rb | |
parent | v3: options, (hub), action (opt.act) modified to increase use possibilities (diff) |
v3: hub (affecting options +others) sisupod processing (v2 enabled)
Diffstat (limited to 'lib/sisu/v3/remote.rb')
-rw-r--r-- | lib/sisu/v3/remote.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/remote.rb b/lib/sisu/v3/remote.rb index bda7529b..1e974f9c 100644 --- a/lib/sisu/v3/remote.rb +++ b/lib/sisu/v3/remote.rb @@ -180,8 +180,8 @@ module SiSU_Remote @requested_file=requested_file end def pod - re_p_div=/https?:\/\/([^\/]+)(\/\S+)\/(sisupod(?:\.txz)?|\S+?(?:\.ss[mt]\.txz)?|[^\/]+?\.ssp)$/ - re_p=/(sisupod(?:\.txz)?|\S+?\.ss[mt](?:\.txz)?|[^\/]+?\.ssp)$/ + re_p_div=/https?:\/\/([^\/]+)(\/\S+)\/(sisupod\.(?:txz|zip)|\S+?(?:\.ss[mt]\.(?:txz|zip))?|[^\/]+?\.ssp)$/ + re_p=/(sisupod\.(?:txz|zip)|\S+?\.ss[mt]\.(?:txz|zip)?|[^\/]+?\.ssp)$/ if @requested_file =~ re_p_div @site,@pth,@pod= re_p_div.match(@requested_file).captures elsif @requested_file =~ re_p |