home *** CD-ROM | disk | FTP | other *** search
/ Freelog 2 / Freelog002.iso / slakware / ap1 / maketag < prev    next >
Text File  |  1999-02-08  |  2KB  |  64 lines

  1. #!/bin/sh
  2. #item   ####description                                      ###on off ###
  3. TMP=/var/log/setup/tmp
  4. if [ ! -d $TMP ]; then
  5.   mkdir -p $TMP
  6. fi
  7. cat /dev/null > $TMP/SeTnewtag
  8. dialog --title "SELECTING PACKAGES FROM SERIES AP (APPLICATIONS)" \
  9.        --checklist "Please select the packages you wish to install \
  10. from series AP. Use the \
  11. UP/DOWN keys to scroll through the list, and the SPACE key to select \
  12. the packages you wish to install. Recommended packages have \
  13. already been selected for you, but you may unselect them if you wish. \
  14. Press ENTER when you are \
  15. done." 22 70 11 \
  16. "ispell" "The International version of ispell" "off" \
  17. "jove" "Jonathan's Own Version of Emacs text editor" "off" \
  18. "manpages" "man pages (online docs -- requires groff)" "on" \
  19. "groff" "GNU troff document formatting system" "on" \
  20. "diff" "GNU diffutils" "on" \
  21. "sudo" "Allow special users limited root access" "off" \
  22. "ghostscr" "GNU Ghostscript version 4.03" "on" \
  23. "gsfonts" "Ghostscript fonts" "on" \
  24. "cdutils" "CD-R mastering/burning tools" "off" \
  25. "jed" "JED programmer's editor" "on" \
  26. "joe" "joe text editor, version 2.8" "on" \
  27. "jpeg6" "JPEG image compression utilities" "on" \
  28. "bc" "GNU bc - arbitrary precision math language" "off" \
  29. "workbone" "a text-based audio CD player" "on" \
  30. "mc" "The Midnight Commander file manager" "on" \
  31. "md" "MD (RAID) utilities" "on" \
  32. "mt_st" "mt ported from BSD - controls tape drive" "on" \
  33. "quota" "User disk quota utilities" "on" \
  34. "sc" "The 'sc' spreadsheet" "off" \
  35. "seejpeg" "An SVGAlib image viewer" "on" \
  36. "sox" "Sound utilities" "on" \
  37. "texinfo" "GNU texinfo documentation system" "on" \
  38. "vim" "Improved vi clone" "on" \
  39. "ash" "A small /bin/sh type shell - 62K" "off" \
  40. "zsh" "Zsh - a custom *nix shell" "on" \
  41. 2> $TMP/SeTpkgs
  42. if [ $? = 1 -o $? = 255 ]; then
  43.  rm -f $TMP/SeTpkgs
  44.  > $TMP/SeTnewtag
  45.  for pkg in ash bc diff ghostscr gsfonts joe mt_st quota sudo groff ispell \
  46.   jpeg6 workbone jove jed manpages mc sc texinfo vim zsh sox \
  47.   seejpeg md cdutils ; do
  48.   echo "$pkg: SKP" >> $TMP/SeTnewtag
  49.  done
  50.  exit
  51. fi
  52. cat /dev/null > $TMP/SeTnewtag
  53. for PACKAGE in ispell jove manpages bc \
  54. groff sc workbone ghostscr gsfonts joe md seejpeg \
  55. mc jpeg6 ash jed mt_st texinfo vim sudo diff zsh sox cdutils \
  56. quota ; 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.