1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-15 15:41:54 +01:00
slackware-current/slackware64/k/maketag.ez
Patrick J Volkerding 277ffd7057 Tue Mar 19 20:06:28 UTC 2019
a/bash-5.0.003-x86_64-1.txz:  Upgraded.
a/kernel-firmware-20190314_7bc2464-noarch-1.txz:  Upgraded.
a/kernel-generic-4.19.30-x86_64-1.txz:  Upgraded.
a/kernel-huge-4.19.30-x86_64-1.txz:  Upgraded.
a/kernel-modules-4.19.30-x86_64-1.txz:  Upgraded.
d/help2man-1.47.9-x86_64-1.txz:  Upgraded.
d/kernel-headers-4.19.30-x86-1.txz:  Upgraded.
d/strace-5.0-x86_64-1.txz:  Upgraded.
k/kernel-source-4.19.30-noarch-1.txz:  Upgraded.
n/gnupg2-2.2.14-x86_64-1.txz:  Upgraded.
n/libgpg-error-1.36-x86_64-1.txz:  Upgraded.
n/samba-4.10.0-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2019-03-20 08:59:45 +01:00

46 lines
1.1 KiB
Bash

#!/bin/sh
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
}
#item ####description ###on off ###
cat /dev/null > $TMP/SeTnewtag
dialog --title "SELECTING SOFTWARE FROM SERIES K (Linux kernel source)" \
--checklist "Please confirm the packages you wish to install \
from series K. 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 \
"kernel-source" "Linux 4.19.30 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
> $TMP/SeTnewtag
for pkg in \
kernel-source \
; do
echo "$pkg: SKP" >> $TMP/SeTnewtag
done
exit
fi
cat /dev/null > $TMP/SeTnewtag
for PACKAGE in \
kernel-source \
; 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