home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slakware / xv1 / maketag < prev    next >
Text File  |  1995-03-23  |  1KB  |  35 lines

  1. #!/bin/sh
  2. #item   ####description                                      ###on off ###
  3. rm -f /tmp/SeTnewtag # empty the return file
  4. dialog --title "SELECTING PACKAGES FOR SERIES XV (xview3.2p1-X11R6)" \
  5.        --checklist "Please select the packages you wish to install \
  6. from series XV. Use the \
  7. UP/DOWN keys to scroll through the list, and the SPACE key to select \
  8. the packages you wish to install. Recommended packages have \
  9. already been selected for you, but you may unselect them if you wish. \
  10. Press ENTER when you are \
  11. done." 19 70 8 \
  12. "xvol32" "Binaries for xview3.2p1-X11R6" "on" \
  13. "xv32_so" "Shared libraries for xview3.2p1-X11R6" "on" \
  14. "xv32_sa" "Shared stubs for xview3.2p1-X11R6" "on" \
  15. "xv32_a" "Static libraries for xview3.2p1-X11R6" "off" \
  16. "xv32exmp" "Sample programs for Xview" "off" \
  17. "xvinc32" "Include files for Xview programming" "on" \
  18. "xvmenus" "Menus for the OpenLook Window Manager" "on" \
  19. "workman" "An audio CD player for XView" "off" \
  20. 2> /tmp/SeTpkgs
  21. if [ $? = 1 -o $? = 255 ]; then
  22.  rm -f /tmp/SeTpkgs
  23.  exit
  24. fi
  25. cat /dev/null > /tmp/SeTnewtag
  26. for PACKAGE in xv32_a xv32exmp xvinc32 xvmenus xvol32 xv32_sa xv32_so \
  27. workman ; do
  28.  if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
  29.   echo "$PACKAGE: ADD" >> /tmp/SeTnewtag
  30.  else
  31.   echo "$PACKAGE: SKP" >> /tmp/SeTnewtag
  32.  fi
  33. done
  34. rm -f /tmp/SeTpkgs
  35.