Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
atelier:arborescence [20/09/2013 11:26] captnfab |
atelier:arborescence [20/09/2013 15:07] captnfab [Mettre un tuto à sa place] |
||
---|---|---|---|
Ligne 42: | Ligne 42: | ||
* Editors //Software to edit files. Programming environments.// | * Editors //Software to edit files. Programming environments.// | ||
* **environnements:** (Environnements de bureau) | * **environnements:** (Environnements de bureau) | ||
- | * Xfce //Xfce, a fast and lightweight Desktop Environment.// | + | * **xfce:** |
- | * KDE //The K Desktop Environment, a powerful, easy to use set of integrated applications.// | + | * Xfce //Xfce, a fast and lightweight Desktop Environment.// |
- | * GNOME //The GNOME desktop environment, a powerful, easy to use set of integrated applications.// | + | * **kde:** |
- | * X Window System software //X servers, libraries, fonts, window managers, terminal emulators and many related applications.// | + | * KDE //The K Desktop Environment, a powerful, easy to use set of integrated applications.// |
+ | * **gnome:** | ||
+ | * GNOME //The GNOME desktop environment, a powerful, easy to use set of integrated applications.// | ||
+ | * **x11:** | ||
+ | * X Window System software //X servers, libraries, fonts, window managers, terminal emulators and many related applications.// | ||
* **electronique:** | * **electronique:** | ||
* Electronics //Electronics utilities.// | * Electronics //Electronics utilities.// | ||
Ligne 199: | Ligne 203: | ||
SECTION=$(apt-cache show $PACKAGE | sed -n '/^Section/s/^Section: //p') | SECTION=$(apt-cache show $PACKAGE | sed -n '/^Section/s/^Section: //p') | ||
- | # Tableau à compléter | ||
declare -A paths | declare -A paths | ||
- | paths=( ["admin"]="doc:administration" ) | ||
- | paths=( ["editors"]="doc:editeurs" ) | ||
- | paths=( ["x11"]="doc:environnements:x11" ) | ||
- | paths=( ["gnome"]="doc:environnements:gnome" ) | ||
- | paths=( ["xfce"]="doc:environnements:xfce" ) | ||
- | NEWPATH="${paths[${SECTION}]}:$APP" | + | paths["unknown"]="doc:autres" |
- | </code> | + | paths["virtual"]="doc:autres" |
+ | paths["tasks"]="doc:" | ||
+ | paths["admin"]="doc:systeme" | ||
+ | paths["alien"]="doc:" | ||
+ | paths["base"]="doc:" | ||
+ | paths["cli-mono"]="doc:programmation" | ||
+ | paths["comm"]="doc:" | ||
+ | paths["database"]="doc:programmation" | ||
+ | paths["debug"]="doc:systeme" | ||
+ | paths["devel"]="doc:programmation" | ||
+ | paths["doc"]="doc:" | ||
+ | paths["editors"]="doc:editeurs" | ||
+ | paths["electronics"]="doc:electronique" | ||
+ | paths["embedded"]="doc:electronique" | ||
+ | paths["fonts"]="doc:media" | ||
+ | paths["games"]="doc:jeux" | ||
+ | paths["gnome"]="doc:environnements:gnome" | ||
+ | paths["gnu-r"]="doc:sciences" | ||
+ | paths["gnustep"]="doc:programmation" | ||
+ | paths["graphics"]="doc:media" | ||
+ | paths["hamradio"]="doc:media" | ||
+ | paths["haskell"]="doc:programmation" | ||
+ | paths["httpd"]="doc:reseau" | ||
+ | paths["interpreters"]="doc:programmation" | ||
+ | paths["java"]="doc:programmation" | ||
+ | paths["kernel"]="doc:systeme" | ||
+ | paths["kde"]="doc:environnements:kde" | ||
+ | paths["libdevel"]="doc:programmation" | ||
+ | paths["libs"]="doc:programmation" | ||
+ | paths["lisp"]="doc:programmation" | ||
+ | paths["localization"]="doc:systeme" | ||
+ | paths["mail"]="doc:reseau" | ||
+ | paths["math"]="doc:sciences" | ||
+ | paths["misc"]="doc:autres" | ||
+ | paths["net"]="doc:reseau" | ||
+ | paths["news"]="doc:reseau" | ||
+ | paths["ocaml"]="doc:programmation" | ||
+ | paths["oldlibs"]="doc:systeme" | ||
+ | paths["otherosfs"]="doc:systeme" | ||
+ | paths["perl"]="doc:programmation" | ||
+ | paths["php"]="doc:programmation" | ||
+ | paths["python"]="doc:programmation" | ||
+ | paths["ruby"]="doc:programmation" | ||
+ | paths["science"]="doc:sciences" | ||
+ | paths["shells"]="doc:programmation" | ||
+ | paths["sound"]="doc:media" | ||
+ | paths["tex"]="doc:sciences" | ||
+ | paths["text"]="doc:editeurs" | ||
+ | paths["utils"]="doc:systeme" | ||
+ | paths["video"]="doc:media" | ||
+ | paths["vcs"]="doc:systeme" | ||
+ | paths["web"]="doc:reseau" | ||
+ | paths["x11"]="doc:environnements:x11" | ||
+ | paths["xfce"]="doc:environnements:xfce" | ||
+ | paths["zope"]="doc:programmation" | ||
+ | paths["main"]="doc:" | ||
+ | paths["contrib"]="doc:" | ||
+ | paths["non-free"]="doc:" | ||
+ | paths["non-us"]="doc:" | ||
+ | |||
+ | NEWPATH=${paths[${SECTION}]}":"$APP | ||
+ | |||
+ | echo "Page=$APP Paquet=$PACKAGE Section=$SECTION NouveauNom=$NEWPATH"</code> |