#!/bin/sh #item ####description ###on off ### TMP=/var/log/setup/tmp if [ ! -d $TMP ]; then mkdir -p $TMP fi cat /dev/null > $TMP/SeTnewtag dialog --title "SELECTING PACKAGES FROM SERIES AP (APPLICATIONS)" \ --checklist "Please confirm the packages you wish to install \ from series AP. Use the UP/DOWN keys to scroll through the list, and \ the SPACE key to deselect any items you don't want to install. \ Press ENTER when you are \ done." 22 72 12 \ "alsa-utils" "ALSA sound utilities" "on" \ "bc" "GNU bc - arbitrary precision math language" "on" \ "diffutils" "GNU diffutils - find file differences" "off" \ "dvd+rw-tools" "DVD+/-R/RW mastering/burning tools" "off" \ "flac" "Free Lossless Audio Codec" "on" \ "groff" "GNU groff document formatting system" "on" \ "itstool" "Translate XML documents with PO files" "on" \ "joe" "joe text editor" "on" \ "lm_sensors" "Hardware monitoring package" "off" \ "lsof" "A tool to list open files" "off" \ "lzip" "A lossless data compressor" "on" \ "madplay" "MPEG audio player" "on" \ "man" "Primary tool for reading online documentation" "off" \ "mariadb" "An enhanced, drop-in replacement for MySQL" "on" \ "mc" "The Midnight Commander file manager" "on" \ "pamixer" "PulseAudio command line mixer" "on" \ "pm-utils" "Power management utilities" "on" \ "radeontool" "Utility for laptops with a Radeon chipset" "off" \ "rzip" "A large file compression utility" "off" \ "screen" "ANSI/vt100 virtual terminal emulator" "off" \ "slackpkg" "Slackware package updating tool" "on" \ "sqlite" "A small SQL database server and library" "on" \ "squashfs-tools" "Squashed read-only filesystem for Linux" "off" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in \ alsa-utils bc diffutils dvd+rw-tools flac groff itstool joe lm_sensors lsof lzip madplay man mariadb mc pamixer pm-utils radeontool rzip screen slackpkg sqlite squashfs-tools \ ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ alsa-utils bc diffutils dvd+rw-tools flac groff itstool joe lm_sensors lsof lzip madplay man mariadb mc pamixer pm-utils radeontool rzip screen slackpkg sqlite squashfs-tools \ ; do if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PACKAGE: ADD" >> $TMP/SeTnewtag else echo "$PACKAGE: SKP" >> $TMP/SeTnewtag fi done rm -f $TMP/SeTpkgs