slackware-current/slackware64/e/maketag
Patrick J Volkerding 9faa0e110e Wed Jul 29 04:46:21 UTC 2020
d/git-2.28.0-x86_64-1.txz:  Upgraded.
e/emacspeak-52.0-x86_64-1.txz:  Added.
l/espeak-ng-1.50-x86_64-1.txz:  Added.
l/pcaudiolib-1.1-x86_64-1.txz:  Added.
l/xxHash-0.8.0-x86_64-1.txz:  Upgraded.
xap/xaos-4.1-x86_64-1.txz:  Upgraded.
2020-07-29 17:59:53 +02:00

37 lines
1,023 B
Bash

#!/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 E (GNU EMACS)" \
--checklist "Please confirm the packages you wish to install \
from series E. 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." 16 72 6 \
"emacs" "The GNU Emacs system" "on" \
"emacspeak" "Emacs speech interface" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in \
emacs emacspeak \
; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
exit
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in \
emacs emacspeak \
; 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