meta données pour cette page
  •  

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
schplurtziel:menageatator [2018/02/05 18:32]
ztrulphcs [Menageatator]
schplurtziel:menageatator [2020/12/28 08:09] (Version actuelle)
ztrulphcs [Utilisation / Usage] présentation
Ligne 47: Ligne 47:
  
 <code bash menageatator> <code bash menageatator>
-#! /bin/sh+#! /bin/bash
 # encoding: utf-8 # encoding: utf-8
 # vim: se ts=2 sw=2 et: # vim: se ts=2 sw=2 et:
Ligne 54: Ligne 54:
 # http://schplurtz.free.fr/wiki/schplurtziel/menageatator # http://schplurtz.free.fr/wiki/schplurtziel/menageatator
 #   #  
-                  Copyright Schplurtz Le Déboulonné, 2016, 2017+              Copyright Schplurtz Le Déboulonné, 2016, 2017, 2019
 #   #  
 #                  Schplurtz le Déboulonné <Schplurtz@laposte.net> #                  Schplurtz le Déboulonné <Schplurtz@laposte.net>
Ligne 184: Ligne 184:
 # out the kernels that dpkg has never touched : /^un / # out the kernels that dpkg has never touched : /^un /
      
-  dpkg-query -W -f '${Status} ${package}\n' "$@" |+  dpkg-query -W -f '${Status} ${package}\n' "$@" 2>/dev/null |
     sed -e 's/^deinstall/removed/     sed -e 's/^deinstall/removed/
             s/^\(.\)[^ ]* *\(.\)[^ ]* *\(.\)[^ ]* */\1\3\2 /             s/^\(.\)[^ ]* *\(.\)[^ ]* *\(.\)[^ ]* */\1\3\2 /
Ligne 203: Ligne 203:
 linux_images_extra_tpl="linux-image-extra-${linux_vers_tpl}" linux_images_extra_tpl="linux-image-extra-${linux_vers_tpl}"
      linux_headers_tpl="linux-headers-${linux_vers_tpl}"      linux_headers_tpl="linux-headers-${linux_vers_tpl}"
 +     linux_modules_tpl="linux-modules-${linux_vers_tpl}"
  
 # list of all linux-image packages dpkg is aware of # list of all linux-image packages dpkg is aware of
Ligne 276: Ligne 277:
     "$linux_images_tpl" \     "$linux_images_tpl" \
     "$linux_images_extra_tpl" \     "$linux_images_extra_tpl" \
-    "$linux_headers_tpl" |        # list linux images, images-extra, headers+    "$linux_headers_tpl" \ 
 +    "$linux_modules_tpl" |        # list linux images, images-extra, headers, modules
   reject '^h' |                   # filter out packages on hold   reject '^h' |                   # filter out packages on hold
   reject "$@" |                   # filter out those we keep   reject "$@" |                   # filter out those we keep
Ligne 314: Ligne 316:
 If you are brave and don't want to confirm menageatator choices If you are brave and don't want to confirm menageatator choices
 </WRAP> </WRAP>
 +
 +<WRAP clear/>
 <code> <code>
 sudo menageatator -y sudo menageatator -y
 </code> </code>