Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-20 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found