aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/remote.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-09-13 19:16:23 -0400
committerRalph Amissah <ralph@amissah.com>2011-09-13 19:16:23 -0400
commit705ccf77b4b61dca16137ada741d1765a52ca573 (patch)
treecddf4e395aa31580c296877ad70d2b90c2e86be3 /lib/sisu/v3/remote.rb
parentv3: 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.rb4
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