[Koha-bugs] [Bug 8485] New: Make koha_perl_deps.pl batch friendly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 20 20:26:42 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8485

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8485
          Assignee: gmcharlt at gmail.com
           Summary: Make koha_perl_deps.pl batch friendly
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: tomascohen at gmail.com
          Hardware: All
            Status: NEW
           Version: master
         Component: Installation and upgrade (command-line installer)
           Product: Koha

I propose adding a switch to the koha_perl_deps.pl script so it is more batch
friendly. I propose -B (for batch) and make it output just the library name,
preserving the other switches semantics.

It could be useful to do things like:

for k in $(for i in $(./koha_perl_deps.pl -m -B | perl -pi -e 's/::/-/g' | tr
'[A-Z]' '[a-z]')
  do
    echo lib$i-perl
  done)
do
 apt-cache search $k
done

(fix it) to maintain a list of debian packages needed, and stuff like that.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list