|
|
troubeshooting! mr. wolf :)
hi, sorry to cause you the troubles ...
1. in the last paragraph there is this line: it is important that between the opening bracket (") and is only one character: a tab! this is the line: if [ ! "$nss" = "[tab]NSServices" ]; then 2. the whole thing must be unix-textencoded! you can do this with a texteditor like bbedit or as described somewhere in this thread use perl -pi -e 's/\r/\n/g' /bin/nss. i ask rob to correct this in the download link so you maybe dont have to correct this anymore. check the correct encoding with cat /bin/nss, if you see only one line its wrongly mac encoded! maybe better don't use textedit to copy/paste/save the script. download (save as) directy from the browser to the computer. this should work as soon rob corrected the download. (check the encoding) or use pico in the terminal to copy/paste/save the script! greetings, zeorge
The download file...
If you copied and pasted into TextEdit, you'd get the line ending problem. To avoid it, use BBEdit in UNIX line ending mode, or just paste directly into a UNIX text editor like vi or pico or emacs.
However, there was a problem with the missing TAB character. I have now fixed that, and made a new download file: nss.sit [2kb] that fixes the issue. Just expand the archive, put it in the right directory, make it executable, type rehash, and you're good to go -- I tested with the downloaded file, and it worked perfectly. -rob.
Worth the wait...
Works like a dream now. Thanks for a v. handy script. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.06 seconds |
|