post_install_sid.sh: only use a function (arem) to remove packages and
purge the config files.
This commit is contained in:
parent
16da432774
commit
b4147eccbe
@ -4,6 +4,7 @@
|
||||
### 0.3.1
|
||||
|
||||
#### Changes
|
||||
* Use a function to remove some packages and purge all configuration files.
|
||||
* Add a forwarding of root's mails to new user email address.
|
||||
* Ensure to disable dangerous modules (firewire, thunderbolt, …).
|
||||
* Add the possibility to set the GRUB_TIMEOUT
|
||||
|
@ -123,8 +123,6 @@
|
||||
## - Exporter des variables le temps de l'installation pour l'automatisation
|
||||
## - Ajouter un warning si pas de dossier seed dans le répertoire d'install ?
|
||||
## - Ajouter un warning pour prévenir qu'il est nécessaire d'effectuer des modifications (ddclient, )
|
||||
## - Ajouter la purge de tous les fichiers de configuration inutiles
|
||||
## - aptitude purge '~c'
|
||||
## - Essayer de configurer xclip pour tmux
|
||||
##
|
||||
################################################################################################
|
||||
@ -615,6 +613,7 @@ aptins "X11 Server" mesa-utils xorg
|
||||
## Liste: alsa-utils - fbpanel - gsimplecal - herbstluftwm - i3lock - lxappearance - nitrogen - obconf - obmenu - openbox - redshift - gtk-redshift - tint2 - wmctrl - xbacklight
|
||||
## Hors dépôt: neap
|
||||
## Désactivé: openbox
|
||||
## Remove: xscreensaver xscreensaver-data
|
||||
###########################################################
|
||||
###### Installation
|
||||
#aptins "Environnement herbstluftwm" alsa-utils fbpanel gsimplecal gtk2-engines-cleanice herbstluftwm i3lock lxappearance nitrogen obconf obmenu redshift gtk-redshift tint2 wmctrl xbacklight
|
||||
@ -623,7 +622,8 @@ aptins "X11 Server" mesa-utils xorg
|
||||
#wget http://neap.googlecode.com/files/neap_0.7.1_all.deb -O neap.deb
|
||||
#dpkg -i neap.deb
|
||||
|
||||
###### Post-configuration
|
||||
##### Remove
|
||||
arem "Purge: Graphic Environment" xscreensaver xscreensaver-data
|
||||
|
||||
###### Informations pour l'utilisateur final
|
||||
cat >> "${INFORMATION}" << EOF
|
||||
@ -954,7 +954,7 @@ preconfig backuppc
|
||||
aptins "System tools for shell" backuppc bsdmainutils colordiff cpio ethtool iperf genisoimage knockd lzip moreutils multitail mr ntfs-3g openvpn pmount rsyslog screen sudo tmux unrar unzip urlview vim-nox vim-doc vim-scripts vlock wakeonlan zsh zip
|
||||
|
||||
###### Remove
|
||||
aptitude remove bluetooth bluez
|
||||
arem "Purge: System tools for shell" bluetooth bluez vim-tiny
|
||||
|
||||
###### Post-configuration
|
||||
# sysklogd par défaut sur la console tty9
|
||||
@ -965,9 +965,6 @@ sed -i 's/tty8/tty9/' /etc/rsyslog.conf
|
||||
# vim-nox comme éditeur par défaut pour la ligne de commande
|
||||
update-alternatives --set editor /usr/bin/vim.nox
|
||||
|
||||
# Suppression de vim-tiny (la purge se fera à la fin du script)
|
||||
aptitude remove vim-tiny
|
||||
|
||||
# Add default user to sudo group
|
||||
adduser ${new_username} sudo
|
||||
|
||||
@ -1237,10 +1234,10 @@ fi
|
||||
#preconfig samba
|
||||
|
||||
###### Installation
|
||||
aptins "Partage réseau" keychain knockd nfs-common openssh-server
|
||||
aptins "Network share" keychain knockd nfs-common openssh-server
|
||||
|
||||
###### Remove
|
||||
aptitude remove nfs-kernel-server samba
|
||||
arem "Purge: Network share" nfs-kernel-server samba
|
||||
|
||||
###### Post-configuration
|
||||
#### If nfs-kernel-server and samba are need or vital for the system, disable them anyway
|
||||
@ -1384,10 +1381,10 @@ EOF
|
||||
preconfig cups
|
||||
|
||||
###### Installation
|
||||
aptins "Outils bureautique shell" cups devtodo graphviz imagemagick imagemagick-doc odt2txt pdftk texlive texlive-latex-extra vim-latexsuite
|
||||
aptins "Office tools for shell" cups devtodo graphviz imagemagick imagemagick-doc odt2txt pdftk texlive texlive-latex-extra vim-latexsuite
|
||||
|
||||
###### Remove
|
||||
aptitude remove avahi-autopid avahi-daemon cups-browsed libnss-mdns
|
||||
arem "Purge: Office tools for shell" avahi-autopid avahi-daemon cups-browsed libnss-mdns
|
||||
|
||||
###### Post-configuration
|
||||
# Add the standard user to lpadmin group to be able to manage Cups administration via webgui.
|
||||
@ -1586,12 +1583,6 @@ Voici la liste des paquets installés :
|
||||
EOF
|
||||
|
||||
|
||||
# Suppression
|
||||
## xscreensaver semble s'installé automatiquement
|
||||
aptitude remove xscreensaver xscreensaver-data
|
||||
aptitude purge '~c'
|
||||
|
||||
|
||||
|
||||
|
||||
# Restauration des sorties standard
|
||||
|
Loading…
Reference in New Issue
Block a user