home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SLAKTEST / IV1 / MAKETAG < prev    next >
Encoding:
Text File  |  1995-04-20  |  925 b   |  27 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 IV (InterViews 3.1)" \
  5.        --checklist "Please select the package you wish to install \
  6. from series IV. Required packages are selected already, but you \
  7. may select any combination of packages you like. \
  8. Press ENTER when you are \
  9. done." 13 70 3 \
  10. "libiv_so" "Shared IV libraries" "on" \
  11. "iv_bin" "InterViews binaries (including doc and idraw)" "on" \
  12. "iv_docs" "Manual pages and other documentation" "on" \
  13. 2> /tmp/SeTpkgs
  14. if [ $? = 1 -o $? = 255 ]; then
  15.  rm -f /tmp/SeTpkgs
  16.  exit
  17. fi
  18. cat /dev/null > /tmp/SeTnewtag
  19. for PACKAGE in libiv_so iv_bin iv_docs ; do
  20.  if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
  21.   echo "$PACKAGE: ADD" >> /tmp/SeTnewtag
  22.  else
  23.   echo "$PACKAGE: SKP" >> /tmp/SeTnewtag
  24.  fi
  25. done
  26. rm -f /tmp/SeTpkgs
  27.