Prechádzať zdrojové kódy

Include shell script wrapper code to allow for valid file URLs as well

Michael Schloh von Bennewitz 22 rokov pred
rodič
commit
bb47c04049
2 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 2 2
      mozilla/mozilla.sh
  2. 1 1
      mozilla/mozilla.spec

+ 2 - 2
mozilla/mozilla.sh

@@ -94,7 +94,7 @@ for url in "$@"; do
             auto:* )
                 url=`echo "$url" | sed -e 's;^auto:;;'`
                 case "$url" in
-                    http://* | https://* | ftp://* ) ;;
+                    http://* | https://* | ftp://* | file://* ) ;;
                     www.* ) url="http://$url" ;;
                     ftp.* ) url="ftp://$url" ;;
                     *.tar.gz | *.tgz ) url="ftpsearch:$url" ;;
@@ -105,7 +105,7 @@ for url in "$@"; do
                 ;;
         esac
         case "$url" in
-            http://* | https://* | ftp://* )
+            http://* | https://* | ftp://* | file://* )
                 : # URL is already fully qualified
                 ;;
             google:* ) 

+ 1 - 1
mozilla/mozilla.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Web
 License:      MPL
 Version:      1.5
-Release:      20031017
+Release:      20031107
 
 #   package options
 %option       with_optimize   yes