introduced distro version detection and automatic system dependent configuration loading
This commit is contained in:
1 parent
148742008a
commit
dc53b749f1
13 files changed
+155
-10
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# Configuration propre à Debian
|
||||
|
||||
# Conf gestionnaire de paquet
|
||||
export PKG_MAN="apt-get"
|
||||
export COM_INSTALL="install -y"
|
||||
export COM_UPDATE="update"
|
||||
export COM_UPGRADE="full-upgrade -y"
|
||||
export COM_REMOVE="remove --purge -y"
|
||||
export COM_AUTOREM="autoremove --purge -y"
|
||||
|
||||
# Special variable for apt tools to disable any interactive behaviour
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Conf chemin
|
||||
export RC_SCRIPTS_PATH="/etc/init.d"
|
||||
|
||||
# Conf init
|
||||
# Init SystemV ou OpenRC:
|
||||
#export INIT_COM="$RC_SCRIPTS_PATH/%srv% %comm%"
|
||||
# Init Systemd:
|
||||
#export INIT_COM="systemctl %comm% %srv%"
|
||||
# Init Upstart (plus ou moins universel)
|
||||
export INIT_COM="service %srv% %com%"
|
||||
@@ -0,0 +1,23 @@
|
||||
# Configuration propre à Debian
|
||||
|
||||
# Conf gestionnaire de paquet
|
||||
export PKG_MAN="apt-get"
|
||||
export COM_INSTALL="install -y"
|
||||
export COM_UPDATE="update"
|
||||
export COM_UPGRADE="full-upgrade -y"
|
||||
export COM_REMOVE="remove --purge -y"
|
||||
export COM_AUTOREM="autoremove --purge -y"
|
||||
|
||||
# Special variable for apt tools to disable any interactive behaviour
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Conf chemin
|
||||
export RC_SCRIPTS_PATH="/etc/init.d"
|
||||
|
||||
# Conf init
|
||||
# Init SystemV ou OpenRC:
|
||||
export INIT_COM="$RC_SCRIPTS_PATH/%srv% %comm%"
|
||||
# Init Systemd:
|
||||
#export INIT_COM="systemctl %comm% %srv%"
|
||||
# Init Upstart (plus ou moins universel)
|
||||
#export INIT_COM="service %srv% %com%"
|
||||
@@ -0,0 +1,23 @@
|
||||
# Configuration propre à Debian
|
||||
|
||||
# Conf gestionnaire de paquet
|
||||
export PKG_MAN="apt-get"
|
||||
export COM_INSTALL="install -y"
|
||||
export COM_UPDATE="update"
|
||||
export COM_UPGRADE="full-upgrade -y"
|
||||
export COM_REMOVE="remove --purge -y"
|
||||
export COM_AUTOREM="autoremove --purge -y"
|
||||
|
||||
# Special variable for apt tools to disable any interactive behaviour
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Conf chemin
|
||||
export RC_SCRIPTS_PATH="/etc/init.d"
|
||||
|
||||
# Conf init
|
||||
# Init SystemV ou OpenRC:
|
||||
#export INIT_COM="$RC_SCRIPTS_PATH/%srv% %comm%"
|
||||
# Init Systemd:
|
||||
#export INIT_COM="systemctl %comm% %srv%"
|
||||
# Init Upstart (plus ou moins universel)
|
||||
export INIT_COM="service %srv% %com%"
|
||||
Reference in new issue
Block a user