From cd4fff758813594b56eefbda706bc15e8b88dc84 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 29 Jan 2026 03:12:13 +0100 Subject: chore: update nectar and perl scripts. Signed-off-by: Amlal El Mahrouss --- libconf.pl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libconf.pl (limited to 'libconf.pl') 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 -- cgit v1.2.3