#!/bin/sh # This script is used within the Slackware installer to present # a package series selection menu. If not present, a default list # built into the installer is used. # Protected tmp directory: TMP=/var/log/setup/tmp if [ ! -d $TMP ]; then mkdir -p $TMP fi rm -f $TMP/SeTDSSERIES dialog --title "ADDITIONAL PACKAGE SERIES SELECTION" --ok-label "OK" --cancel-label "Cancel" \ --item-help --checklist \ "Now it's time to select which general categories of software \ to install on your system. Use the spacebar to select or unselect \ the software you wish to install. \ You can use the up and down arrows to see all the possible choices. \ Recommended choices have been preselected. \ Press the ENTER key when you are finished." \ 21 75 11 \ "DSA" "Based packages for localisation" on "DSA - Rus/Ukr keymaps, cyrillic console fonts." \ "DSAP" "Additional console packages" on "DSAP contains packages that do not need X" \ "DSDEV" "Program Development" off "The DSDEV series contains compilers, and other programming tools." \ "DSDICT" "Dictionaries for StarDict" off " " \ "DSL" "Additional libraries" on "Various libraries" \ "DSLG" "Required libraries for GNOME apps" on "Strongly required libraries for GNOME Applications" \ "DSLXDE" "LXDE Window manager" on "LXDE Window manager and related applications" \ "DSN" "Network Application" on "N - network clients and servers." \ "DSO" "LibreOffice.org" on "Writer, Calc, Draw, Math, Base, Impress" \ "DSV" "Virtualization" on "Applications for virtualization" \ "DSX" "Fonts for X Window System" on "Cyrillic fonts for X Window System" \ "DSXAP" "Additional applications for X" on "AfterStep, IceWM, Licq, etc." \ "DSXAPG" "GNOME Applications" on "AbiWord, Gnumeric, GHex, etc." \ "DSXG" "Games for X" off " " \ 2> $TMP/SeTDSSERIES if [ ! $? = 0 ]; then rm -f $TMP/SeTDSSERIES exit fi #"DSM" "Multimedia Applications" off "Multinedia Applications, codecs and related libraries." \ #"DSORU" "OpenOffice.org russian ukranian" off "Writer, Calc, Draw, Math, Base, Impress" \ #"DSKDE" "KDE applications" off "KDE " \ #"GNOME" "Рабочий стол GNOME для X" on "GNOME - окружение рабочего стола GNOME и связанные библиотеки." \ #"DSE" "Научные программы" off "A (base) - ядро и основные системные утилиты." \ #"DSK" "Различные ядерные утилиты" off "K - исходные коды ядра Linux." \ #"DST" "Утилиты для TeX" off "Система, часто используемая для математических и технических статей." \ #"DSTCL" "Скриптовые языки Tcl/Tk" off "TCL - языки Tcl/Tk/TclX и программы, которые их используют." \ # Rewrite the list into a single # delimited line: INSTSETS="`cat $TMP/SeTDSSERIES | tr -d " "`" INSTSETS="`echo $INSTSETS | tr "\042" "#" `" INSTSETS="`echo $INSTSETS | tr "," "#" `" # Store the selection list: echo "$INSTSETS" > $TMP/SeTDSSERIES