[Bug 1773] New: scripts for installing firefox plugins

blfs-bugs at linuxfromscratch.org blfs-bugs at linuxfromscratch.org
Sun Jan 8 10:32:36 PST 2006


http://blfs-bugs.linuxfromscratch.org/show_bug.cgi?id=1773

           Summary: scripts for installing firefox plugins
           Product: Beyond LinuxFromScratch
           Version: a-SVN
          Platform: PC
               URL: http://www.linuxfromscratch.org/blfs/view/svn/xsoft/fire
                    fox.html
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: BOOK
        AssignedTo: blfs-book at linuxfromscratch.org
        ReportedBy: tinglix at gmail.com
         QAContact: blfs-book at linuxfromscratch.org


I get an error message while runing the following scripts:

if [ -f /usr/lib/mozilla/plugins/* ]; then
  for PLUGIN_FILE in $(ls /usr/lib/mozilla/plugins/*)
  do
    ln -v -s ../../mozilla/plugins/$(basename $PLUGIN_FILE) \
        /usr/lib/firefox-1.5/plugins
  done
fi

The error message says
 bash: [: too many arguments

When I changed the first line to 

if [ -d /usr/lib/mozilla/plugins ]; then

It went through.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the blfs-book mailing list