-
02-09-2009, 08:55 PM #1
Add 'deb' to Safari Download Plug-In
I want to add 'deb' (and other) file-types to the Safari Download Plug-In and assumed it would be easy .... just duplicate something and change the file type. IE:
I copied/duplicated the following section from 'zip' area and changed zip to deb. Of course, it doesn't work !!
What am I missing? 
Thanks allHTML Code:<key>application/deb</key> <dict> <key>WebPluginExtensions</key> <array> <string>deb</string> </array> <key>WebPluginTypeDescription</key> <string>debFile</string> <key>WebPluginTypeEnabled</key> <true/> </dict>
-
02-10-2009, 02:20 PM #2
-
The Following User Says Thank You to DaveiPhone For This Useful Post:
Mes (02-10-2009)
-
02-10-2009, 05:27 PM #3
Thanks DaveiPhone.... but no cigar ... yet

Your simple edit was the first thing I tried ... without success. Hense the reason I started exploring other possibilities.
My Safari Download Plug-In is version 2.0. I assume you're using the same. Either mine is corrupted, or something else is getting in the way.
But ... I have a idea. Could you send me your edited Info.plist which includes the working deb addition? Would like to give it a try. If it works, I'll diff our versions and post the solution.
Thanks in advance.
Update: Never mind. It's working. Sorta .....
----- Solution
. Download from a different site
. Hahaha
Have no idea why it works on one site, but not another. But at least the mod does work !!! More (keep reading)
Update 2: Now I really am confused..............

Without any edits to Info.plist (deb not in Info.plist)
-- All debs from MMI download correctly:
------ example: http://apt.modmyi.com/2debs/49ers2.1.deb
-- And of course the one I really want still does not...
------ http://www.volatile-dev.com/LockCale...endar_0.3b.deb
Any suggestions?Last edited by Mes; 02-10-2009 at 06:06 PM.
-
02-10-2009, 06:21 PM #4
If you use the command from Terminal:
curl -I http://www.volatile-dev.com/LockCale...endar_0.3b.deb
it returns:
HTTP/1.1 200 OK
Date: Wed, 11 Feb 2009 01:13:08 GMT
Server: Apache
Last-Modified: Mon, 09 Feb 2009 00:28:54 GMT
ETag: "5000000036390-1796e-46271749b3d80"
Accept-Ranges: bytes
Content-Length: 96622
Content-Type: text/plain
Where curl -I http://apt.modmyi.com/2debs/49ers2.1.deb returns:
HTTP/1.0 200 OK
Set-Cookie: ServerId=1218; path=/
Date: Wed, 11 Feb 2009 01:15:44 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5
X-Powered-By: PHP/5.2.5
Content-Description: File Transfer
Content-Disposition: attachment; filename=49ers2.1.deb
Content-Transfer-Encoding: binary
Expires: 0
Cache-Control: must-revalidate, post-check=0, pre-check=0
Pragma: public
Content-Length: 3361982
Connection: close
Content-Type: application/octet-stream
So, as far as I understand it (which isn't very far!), the volatile-dev server doesn't have the mime type set up correctly.
I'm not sure what the solution is, but if your end goal is to install the lockcalendar manually, you could download it to your desktop computer and SSH it over to the phone.
-
The Following User Says Thank You to DaveiPhone For This Useful Post:
Mes (02-10-2009)
-
02-10-2009, 06:59 PM #5
Wonderful....... that explains it. Thanks. Learn something new every day. Kinda figured it had something to do with the site. Never used curl. But I won't forget.

BTW: NP. LockCalendar already installed. My long-time routine is to download to the computer, SSH it over, then dpkg -i. I was exploring alternatives and ran across this weird issue. Thanks again
One last question. Any idea why it works with IE on a PC, or Safari on the Mac? These browsers more forgiving?Last edited by Mes; 02-10-2009 at 06:59 PM. Reason: Automerged Doublepost
-
02-10-2009, 11:09 PM #6
For me, it actually DOESN'T work on Safari on the Mac either. I just clicked the link and got a page full of garbage text displayed, whereas clicking on the modmyi link downloads the file as expected.



LinkBack URL
About LinkBacks
Reply With Quote

