slackware-current/slackware64/y/maketag.ez
Patrick J Volkerding fe9485f84f Wed Dec 30 21:56:42 UTC 2020
a/kernel-firmware-20201230_f580dc2-noarch-1.txz:  Upgraded.
a/kernel-generic-5.10.4-x86_64-1.txz:  Upgraded.
a/kernel-huge-5.10.4-x86_64-1.txz:  Upgraded.
a/kernel-modules-5.10.4-x86_64-1.txz:  Upgraded.
d/kernel-headers-5.10.4-x86-1.txz:  Upgraded.
k/kernel-source-5.10.4-noarch-1.txz:  Upgraded.
xfce/thunar-4.16.1-x86_64-1.txz:  Upgraded.
y/nethack-3.6.6-x86_64-1.txz:  Added.
  Might as well have more than one package in this series. :-)
  We'll use similar install paths to the ones used by bsd-games for this.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2020-12-31 08:59:47 +01:00

47 lines
1.2 KiB
Bash

#!/bin/sh
#item ####description ###on off ###
TMP=/var/log/setup/tmp
if [ ! -d $TMP ]; then
mkdir -p $TMP
fi
add() {
for package in $* ; do
echo "$package: ADD" >> $TMP/SeTnewtag
done
}
skip() {
for package in $* ; do
echo "$package: SKP" >> $TMP/SeTnewtag
done
}
cat /dev/null > $TMP/SeTnewtag
dialog --title "SELECTING PACKAGES FROM SERIES Y (GAMES)" \
--checklist "Please confirm the packages you wish to install \
from series Y. 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." \
11 70 1 \
"bsd-games" "The BSD text games collection" "on" \
"nethack" "Rogue-like game" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in \
bsd-games nethack \
; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
exit
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in \
bsd-games nethack \
; 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