summaryrefslogtreecommitdiffhomepage
path: root/libconf.pl
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-29 03:12:13 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-29 03:12:13 +0100
commitcd4fff758813594b56eefbda706bc15e8b88dc84 (patch)
treea020eb3d6dcf90389daf40c3f679211a0bf51cd4 /libconf.pl
parentfdc8499cb89072054ab4801a8fb3b2a382a651e3 (diff)
chore: update nectar and perl scripts.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'libconf.pl')
-rw-r--r--libconf.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/libconf.pl b/libconf.pl
new file mode 100644
index 0000000..1a1bc7e
--- /dev/null
+++ b/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