home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / slakware / ap1 / maketag.ez < prev    next >
Encoding:
Text File  |  1996-07-12  |  2.3 KB  |  64 lines

  1. #!/bin/sh
  2. add() {
  3.   for package in $* ; do
  4.     echo "$package: ADD" >> /tmp/SeTnewtag
  5.   done
  6. }
  7. skip() {
  8.   for package in $* ; do
  9.     echo "$package: SKP" >> /tmp/SeTnewtag
  10.   done
  11. }
  12. #item   ####description                                      ###on off ###
  13. rm -f /tmp/SeTnewtag # empty the return file
  14. dialog --title "SELECTING SOFTWARE FROM SERIES AP (APPLICATIONS)" \
  15.        --checklist "Please select the system components you wish to install \
  16. from series AP. Use the \
  17. UP/DOWN keys to scroll through the list, and the SPACE key to select \
  18. the items you wish to install. Recommended items have \
  19. already been selected for you, but you may unselect them if you wish. \
  20. Press ENTER when you are \
  21. done." 22 70 11 \
  22. "ispell" "The International version of ispell" "off" \
  23. "jove" "Jonathan's Own Version of Emacs text editor" "off" \
  24. "manpgs" "More man pages (online documentation)" "on" \
  25. "diff" "GNU diffutils" "on" \
  26. "sudo" "Allow special users limited root access" "off" \
  27. "ghostscr" "GNU Ghostscript version 2.6.2" "off" \
  28. "jed" "JED programmer's editor" "on" \
  29. "joe" "joe text editor, version 2.2" "on" \
  30. "jpeg" "JPEG image compression utilities" "off" \
  31. "bc" "GNU bc - arbitrary precision math language" "off" \
  32. "workbone" "a text-based audio CD player" "off" \
  33. "mc" "The Midnight Commander file manager" "off" \
  34. "mt_st" "mt ported from BSD - controls tape drive" "off" \
  35. "gp9600" "Changes the default modem speed" "off" \
  36. "groff" "GNU troff document formatting system" "on" \
  37. "quota" "User disk quota utilities" "off" \
  38. "sc" "The 'sc' spreadsheet" "off" \
  39. "texinfo" "GNU texinfo documentation system" "on" \
  40. "vim" "Improved vi clone" "off" \
  41. "ash" "A small /bin/sh type shell - 62K" "off" \
  42. "zsh" "Zsh - a custom *nix shell" "off" \
  43. 2> /tmp/SeTpkgs
  44. if [ $? = 1 -o $? = 255 ]; then
  45.  rm -f /tmp/SeTpkgs
  46.  exit
  47. fi
  48. cat /dev/null > /tmp/SeTnewtag
  49. if fgrep \"ghostscr\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
  50.   add ghostscr gsfonts1 gsfonts2
  51. else
  52.   skip ghostscr gsfonts1 gsfonts2
  53. fi
  54. for PACKAGE in ispell jove manpgs bc \
  55. gp9600 groff sc workbone joe \
  56. quota mc jpeg ash jed mt_st texinfo vim sudo diff zsh ; do
  57.  if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
  58.   echo "$PACKAGE: ADD" >> /tmp/SeTnewtag
  59.  else
  60.   echo "$PACKAGE: SKP" >> /tmp/SeTnewtag
  61.  fi
  62. done
  63. rm -f /tmp/SeTpkgs
  64.