]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - vendor/update
Remove the Kiwi links from the readme.
[user/henk/code/inspircd.git] / vendor / update
index 20a4284bcafd808114d2cfab3e15e98c8138eff2..3c04bc63af0bdea5e019b5454635a38b1871745e 100755 (executable)
 #
 
 
-BEGIN {
-       require 5.10.0;
-       unless (-f 'configure') {
-               print "Error: $0 must be run from the main source directory!\n";
-               exit 1;
-       }
-}
-
-use feature ':5.10';
+use v5.10.0;
 use strict;
 use warnings FATAL => qw(all);
 
@@ -51,7 +43,7 @@ my ($data, $error) = from_toml $contents;
 print_error "unable to parse $config: $!" if $error;
 
 while (my ($name, $info) = each %{$data}) {
-       print_format "Updating <|GREEN $name|> ...\n";
+       say console_format "Updating <|GREEN $name|> ...";
 
        my $unpackdir = File::Temp->newdir;
        my $vendordir = catdir $RealDir, $name;