summaryrefslogtreecommitdiffhomepage
path: root/scripts/libconf.pl
blob: 1a1bc7eea97aa663411eeb0f68fd4683839121fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl -w

package libconf;

use strict;
use Cwd;

sub new() {

    if ($ENV{USER} ne "root") {
        die "You must be root to run this script.\n";
    }

    system("sh", "git", "submodule", "update", "--init", "--recursive") or die "Git error: $!";

}

"libconf";