mirror of
git://slackware.nl/current.git
synced 2024-11-16 07:48:02 +01:00
b76270bf9e
Wed May 19 08:58:23 UTC 2010 Slackware 13.1 x86_64 stable is released! Lots of thanks are due -- see the RELEASE_NOTES and the rest of the ChangeLog for credits. The ISOs are on their way to replication, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We are taking pre-orders now at store.slackware.com, and offering a discount if you sign up for a subscription. Consider picking up a copy to help support the project. Thanks again to the Slackware community for testing, contributing, and generally holding us to a high level of quality. :-) Enjoy!
46 lines
1.1 KiB
Bash
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 2.6.33.4 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 fgrep \"$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
|