X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=clients%2FHP%2Fbin%2Finstall_pwplus;fp=clients%2FHP%2Fbin%2Finstall_pwplus;h=3004f58cfb7f31fa3d9b90c24fcdd1dfe5cbee25;hb=a8c84d2892f07a6863b68a11eb0a4a79ffd71fb5;hp=0000000000000000000000000000000000000000;hpb=95384f94f88aceeb5eef2d322210ba4a438b6512;p=clearscm.git diff --git a/clients/HP/bin/install_pwplus b/clients/HP/bin/install_pwplus new file mode 100644 index 0000000..3004f58 --- /dev/null +++ b/clients/HP/bin/install_pwplus @@ -0,0 +1,28 @@ +#!/bin/ksh +################################################################################ +# +# File: install_pwplus +# Description: This script will install pwplus +# Author: Andrew DeFaria (defaria@cup.hp.com) +# Language: Korn Shell +# Modified: +# +# (c) Copyright 2001, Andrew@DeFaria.com, all rights reserved +# +################################################################################ +# First source /app/appserver +if [ -x /app/appserver ]; then + . /app/appserver +fi + +if [ $(id -u) -ne 0 ]; then + print -u2 "Error: You must be root to execute this command!" + exit 1 +fi + +if [ "$OS" = "09" ]; then + print -u2 "Error: $(basename $0) does not run on 9.x!" + exit 1 +fi + +/usr/sbin/swinstall -s medusa.corp:/var/depot/security PWplus