#! /bin/bash
# Generated by MANIFEST
# See INSTALL for details of format

depend -d /var/adm/sysman/modules
if [ $? -eq 254 ]; then
  log "You must install the 'base' module of the System Manager" y 
  log "before installing this module." y 
  log "" y 
  exit
fi
#! /bin/bash
#
# The System Manager
# An Administration Tool For UNIX
#
# Copyright (c) 1994 Stuart Herbert
# Released under the GNU GPL v2
#
# Bugs/comments/contributions to S.Herbert@Sheffield.ac.uk

if [ -n "$1" ]; then
  case "$1" in
    --SysmanInstall)
      echo "Y : Y : SOFTWARE : Managing Software :$0"
      exit
      ;;
    --SysmanAuthor)
      source /var/adm/sysman/bin/ParseMod
      ;;
  esac
fi

title   "The Software Module"
author  "Stuart Herbert" "S.Herbert@Sheffield.ac.uk"
comment
comment  "Currently, this module merely provides a useful script for installing"
comment  "any third-party .tar(.gz) type file.  Future releases will seek to"
comment  "integrate support for the Slackware PKGTOOL system."
comment
comment  "For the C shell, add the following alias to your /etc/csh.login :"
comment
comment  "  alias InstallTar sysman modules/Software ./InstallTar"
comment
comment  "(or equivalent for sh-like shells, in /etc/profile) so that you"
comment  "can call this module directly."
endinfo

target /var/adm sysman

dir  $TARGETDIR/src          		755 y
dir  $TARGETDIR/src/Software/InstallTar 755 y
file src/Software/InstallTar/ParseTar $TARGETDIR/src/Software/InstallTar/ParseTar 755
file src/Software/InstallTar/main.c   $TARGETDIR/src/Software/InstallTar/main.c   644
link src/Software/InstallTar/ParseTar $TARGETDIR/bin/ParseTar 755
dir $TARGETDIR/modules/Software 755 y
file modules/Software/InstallTar /var/adm/sysman/modules/Software/InstallTar 755
file modules/Software/README.module /var/adm/sysman/modules/Software/README.module 755
