github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

axiombox / planetalinux forked from damog/planetalinux

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 8
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (3)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Planeta Linux! — Read more

  cancel

http://planetalinux.org/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Cambiando la letra z de Gonzales Close #14 
julioh (author)
Tue Feb 02 14:44:15 -0800 2010
commit  272cbb5ab55690251dc2f9594cce6bbf58f3c758
tree    60f61690fd4caaed7592852fa3c7a6d000273aff
parent  737870fa95d28a7e90acbf9387dc446714a714a5
planetalinux / installdeps.pl installdeps.pl
100755 52 lines (39 sloc) 0.978 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/perl
 
use strict;
use warnings;
 
$ENV{'PERL_MM_USE_DEFAULT'} = 1; # for non-prompting
 
use CPAN;
 
die "You better run this bitch under perl 5.10 or newer.\n"
  unless $] >= 5.010;
 
die "You better run this as root.\n"
unless $< == 0;
 
my $modules = [qw!
App::Cmd
App::PPBuild
Config::IniFiles
Data::Validate::Email
DateTime
File::MimeInfo::Simple
File::Path
Modern::Perl
Module::Build
Net::Domain::ES::ccTLD
Template
WebService::Validator::Feed::W3C
YAML::Syck
!];
 
for my $m (@$modules) {
CPAN::Shell->rematein("notest", "install", "$m");
# CPAN::Shell->install( $m );
}
 
# after that...
print ".. testing loading modules...\n";
 
for my $m (@$modules) {
print "- $m\n";
eval "require $m";
die $@ if $@;
}
 
print "\n.. done. enjoy :)\n";
print "\n.. please make sure you have PerlMagick installed.\n";
print ".. the recommended way is: `port install p5-perlmagick` in Mac,\n";
print ".. ..or 'aptitude install perlmagick' in Debian/Ubuntu.\n\n";
 
 
 
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server