summaryrefslogtreecommitdiffhomepage
path: root/scripts/libconf.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libconf.pl')
-rw-r--r--scripts/libconf.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/libconf.pl b/scripts/libconf.pl
new file mode 100644
index 0000000..1a1bc7e
--- /dev/null
+++ b/scripts/libconf.pl
@@ -0,0 +1,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"; \ No newline at end of file