From 3526142cc80bbc2352129301415b2127fb6a89a2 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 24 Jun 2012 13:38:13 +0200 Subject: [PATCH] Reorganisation des chemins de scripts --- createlinks | 3 ++- .../files/shares/tools/files/scripts/session/001conf.bat | 2 ++ .../e-smith/files/shares/tools/files/scripts/wpkg/conf.bat | 2 ++ .../tools/files/scripts/{bootstrap.bat => wpkg/install.bat} | 0 .../shares/tools/files/scripts/{wpkg.bat => wpkg/run.bat} | 0 5 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 root/etc/e-smith/templates.metadata/home/e-smith/files/shares/tools/files/scripts/session/001conf.bat create mode 100644 root/etc/e-smith/templates.metadata/home/e-smith/files/shares/tools/files/scripts/wpkg/conf.bat rename root/home/e-smith/files/shares/tools/files/scripts/{bootstrap.bat => wpkg/install.bat} (100%) rename root/home/e-smith/files/shares/tools/files/scripts/{wpkg.bat => wpkg/run.bat} (100%) diff --git a/createlinks b/createlinks index 44a4a6c..a3a1208 100644 --- a/createlinks +++ b/createlinks @@ -6,6 +6,7 @@ event_link("wpkg-init", "wpkg-update", "20"); event_link("wpkg-init", "ipasserelle-update", "20"); event_link("initialize-default-databases", "wpkg-update", "02"); -templates2events("/home/e-smith/files/shares/tools/files/scripts/conf.bat", qw(wpkg-update bootstrap-console-save)); +templates2events("/home/e-smith/files/shares/tools/files/scripts/wpkg/conf.bat", qw(wpkg-update bootstrap-console-save)); +templates2events("/home/e-smith/files/shares/tools/files/scripts/session/conf.bat", qw(wpkg-update bootstrap-console-save)); templates2events("/home/e-smith/files/shares/wpkg/files/config.xml", qw(wpkg-update bootstrap-console-save)); templates2events("/home/e-smith/files/shares/wpkg/files/profiles/variables.xml", qw(wpkg-update bootstrap-console-save)); diff --git a/root/etc/e-smith/templates.metadata/home/e-smith/files/shares/tools/files/scripts/session/001conf.bat b/root/etc/e-smith/templates.metadata/home/e-smith/files/shares/tools/files/scripts/session/001conf.bat new file mode 100644 index 0000000..ccab440 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/e-smith/files/shares/tools/files/scripts/session/001conf.bat @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/home/e-smith/files/shares/tools/files/scripts/conf.bat" +OUTPUT_FILENAME="/home/e-smith/files/shares/tools/files/scripts/session/001conf.bat" diff --git a/root/etc/e-smith/templates.metadata/home/e-smith/files/shares/tools/files/scripts/wpkg/conf.bat b/root/etc/e-smith/templates.metadata/home/e-smith/files/shares/tools/files/scripts/wpkg/conf.bat new file mode 100644 index 0000000..b390fdf --- /dev/null +++ b/root/etc/e-smith/templates.metadata/home/e-smith/files/shares/tools/files/scripts/wpkg/conf.bat @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/home/e-smith/files/shares/tools/files/scripts/conf.bat" +OUTPUT_FILENAME="/home/e-smith/files/shares/tools/files/scripts/wpkg/conf.bat" diff --git a/root/home/e-smith/files/shares/tools/files/scripts/bootstrap.bat b/root/home/e-smith/files/shares/tools/files/scripts/wpkg/install.bat similarity index 100% rename from root/home/e-smith/files/shares/tools/files/scripts/bootstrap.bat rename to root/home/e-smith/files/shares/tools/files/scripts/wpkg/install.bat diff --git a/root/home/e-smith/files/shares/tools/files/scripts/wpkg.bat b/root/home/e-smith/files/shares/tools/files/scripts/wpkg/run.bat similarity index 100% rename from root/home/e-smith/files/shares/tools/files/scripts/wpkg.bat rename to root/home/e-smith/files/shares/tools/files/scripts/wpkg/run.bat