Created
November 22, 2016 05:23
-
-
Save Nanguage/ce873466e45fe28644f762d6045a0f8a to your computer and use it in GitHub Desktop.
perl script for install circos perl dependency library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
$module_status = `circos -module` | |
or die("please ensure circos installed."); | |
@module_status = split(/\n/, $module_status); | |
foreach (@module_status) { | |
chomp; | |
if ($_ =~ /^missing\s*(.+)$/) { | |
print "[INFO] missing: $1\n"; | |
system("sudo cpan -i $1"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment