From e549b5686cc1c1bfadf1f78beaf97c17597d9a50 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 23 Feb 2026 19:39:08 +0100 Subject: chore: module and scripts improvements. Signed-off-by: Amlal El Mahrouss --- scripts/libconf.pl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 scripts/libconf.pl (limited to 'scripts') 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 -- cgit v1.2.3