summaryrefslogtreecommitdiffstats
path: root/slackware64/f/maketag.ez
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64/f/maketag.ez')
-rw-r--r--slackware64/f/maketag.ez37
1 files changed, 37 insertions, 0 deletions
diff --git a/slackware64/f/maketag.ez b/slackware64/f/maketag.ez
new file mode 100644
index 000000000..05ef4e29d
--- /dev/null
+++ b/slackware64/f/maketag.ez
@@ -0,0 +1,37 @@
+#!/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 F (FAQS/DOCS)" \
+ --checklist "Please confirm the packages you wish to install \
+from series F. 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." \
+12 70 2 \
+"linux-faqs" "The Linux FAQ and other documentation" "on" \
+"linux-howtos" "HOWTOs from the Linux Doc Project" "on" \
+2> $TMP/SeTpkgs
+if [ $? = 1 -o $? = 255 ]; then
+ rm -f $TMP/SeTpkgs
+ > $TMP/SeTnewtag
+ for pkg in \
+linux-faqs linux-howtos \
+ ; do
+ echo "$pkg: SKP" >> $TMP/SeTnewtag
+ done
+ exit
+fi
+cat /dev/null > $TMP/SeTnewtag
+for PACKAGE in \
+linux-faqs linux-howtos \
+ ; 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