diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-23 19:39:08 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-23 19:39:08 +0100 |
| commit | e549b5686cc1c1bfadf1f78beaf97c17597d9a50 (patch) | |
| tree | a479f89ea5351aaba73ce99985ad6b65b2af1f9e /scripts | |
| parent | 87e9042a7a6c5ab77c507c22e80d56c230748933 (diff) | |
chore: module and scripts improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/libconf.pl | 18 |
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 |
