introduced new var in module for future dependency system

This commit is contained in:
levasseur
2021-09-20 16:14:18 +02:00
parent 9e2678c033
commit d5dfcac57b
11 changed files with 14 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
# ------------------------------------------------------------------------------
export VER_conf_disks="0.0.8"
export DEP_conf_disks="upgrade_dist"
# ------------------------------------------------------------------------------
# ZFS case

View File

@@ -13,6 +13,7 @@
# ------------------------------------------------------------------------------
export VER_conf_mail="0.0.3"
export DEP_conf_mail="upgrade_dist"
conf_mail()
{

View File

@@ -12,6 +12,7 @@
# ------------------------------------------------------------------------------
export VER_conf_ntp="0.0.6"
export DEP_conf_ntp="upgrade_dist"
conf_ntp()
{

View File

@@ -12,6 +12,7 @@
# ------------------------------------------------------------------------------
export VER_conf_ssh="0.0.1"
export DEP_conf_ssh="upgrade_dist"
conf_ssh()
{

View File

@@ -12,6 +12,7 @@
# ------------------------------------------------------------------------------
export VER_create_vm="0.0.1"
export DEP_create_vm="upgrade_dist install_pkg"
create_vm()
{

View File

@@ -14,6 +14,7 @@
# ------------------------------------------------------------------------------
export VER_install_chromium="0.0.1"
export DEP_install_chromium="upgrade_dist"
install_chromium()
{

View File

@@ -16,6 +16,7 @@
# ------------------------------------------------------------------------------
export VER_install_desktop="0.0.2"
export DEP_install_desktop="upgrade_dist"
install_desktop()
{

View File

@@ -13,6 +13,7 @@
# ------------------------------------------------------------------------------
export VER_install_mkagent="0.0.2"
export DEP_install_mkagent="upgrade_dist install_pkg"
install_mkagent()
{

View File

@@ -14,6 +14,7 @@
# ------------------------------------------------------------------------------
export VER_install_pkg="0.1.1"
export DEP_install_pkg="upgrade_dist"
install_pkg()
{
@@ -41,7 +42,7 @@ install_pkg()
prnt I "Installation de la sélection de paquets..."
pkginst $PKGSEL
fi
# Cleaning
prnt I "Suppression des paquets résiduels le cas échéant..."
pkgautorem
@@ -54,11 +55,11 @@ precheck_install_pkg()
else
prnt I "$(echo $PKGS_RMLIST | wc -w) paquets à supprimer."
fi
if [[ -z PKGS_BLACKLIST ]]; then
prnt W "Les paquets $pkg seront placés en liste noire !"
fi
if [[ -z $PKGSEL ]]; then
prnt W "Pas de paquet additionel à installer !"
else

View File

@@ -9,6 +9,7 @@
# ------------------------------------------------------------------------------
export VER_install_profile="0.0.2"
export DEP_install_profile="install_pkg"
install_profile()
{

View File

@@ -9,6 +9,7 @@
# ------------------------------------------------------------------------------
export VER_patch_snmp="0.0.1"
export DEP_patch_snmp="install_pkg"
patch_snmp()
{