add initial LEGOS package list, initial code for install_{desktop,pkg}
This commit is contained in:
24
modules/install_desktop.sh
Normal file
24
modules/install_desktop.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
# Install desktop environment -- Ubuntu only
|
||||
# Debian version might ask for task-$FLAVOR
|
||||
|
||||
export VER_install_desktop="0.0.1"
|
||||
|
||||
install_desktop()
|
||||
{
|
||||
[[ $X11_DRV ]] &&
|
||||
prnt I "Installation de pilotes supplémentaires X11..." &&
|
||||
pkginst $X11_DRV
|
||||
[[ $UBUNTU_FLAVOR ]] &&
|
||||
prnt I "Installation de l'environnement $UBUNTU_FLAVOR..." &&
|
||||
pkginst ${UBUNTU_FLAVOR}-desktop
|
||||
}
|
||||
|
||||
precheck_install_desktop()
|
||||
{
|
||||
[[ ! $UBUNTU_FLAVOR ]] && prnt W "Pas de saveur Ubuntu choisi, \
|
||||
aucun environnement de bureau ne sera installé !"
|
||||
[[ $X11_DRV ]] && prnt W "Des pilotes non libres seront installé."
|
||||
}
|
||||
|
||||
export -f install_desktop
|
||||
export -f precheck_install_desktop
|
||||
18
modules/install_pkg.sh
Normal file
18
modules/install_pkg.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
# Install des paquets -- Debian et Ubuntu
|
||||
|
||||
export VER_install_pkg="0.0.1"
|
||||
|
||||
install_pkg()
|
||||
{
|
||||
[[ $PKGLIST ]] &&
|
||||
prnt I "Installation des la sélection de paquets..." &&
|
||||
pkginst $PKGSEL
|
||||
}
|
||||
|
||||
precheck_install_pkg()
|
||||
{
|
||||
[[ ! $PKGLIST ]] && prnt W "Pas de paquet additionel à installer !"
|
||||
}
|
||||
|
||||
export -f install_pkg
|
||||
export -f precheck_install_pkg
|
||||
Reference in New Issue
Block a user