Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

quick way to add a line to a file, if it's not already present (automating tweaking of /etc/ld.so.conf for installing Image::Magick)

by tphyahoo (Vicar)
on Nov 17, 2006 at 16:12 UTC ( #584749=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     cat install-imagemagick.sh
    #!/bin/bash
    ...
    /usr/local/path/to/custom/perl -MImage::Magick -e ''
    
  2. or download this
    $ cat so-config-imagemagick.sh
    #!/bin/bash
    ...
    mkdir -p /etc/ld.so.conf.d
    $
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://584749]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-05-23 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?