diff --git a/files/install/installCCS.sh b/files/install/installCCS.sh index 1a6cc32..20ca537 100755 --- a/files/install/installCCS.sh +++ b/files/install/installCCS.sh @@ -11,7 +11,7 @@ ENVIRONMENT=$2 NODE_NAME=$3 BASEDIR=$(dirname "$0") -DEV_PACKAGE_DIR="/home/ccs/dev-package-lists" +DEV_PACKAGE_DIR="/home/ccs/dev-package-lists-"$(date +%Y%m%d) RELEASE_INSTALL_SCRIPT="/lsst/ccsadm/release/bin/install.py" CCS_INSTALL_DIR="/lsst/ccs/"$(date +%Y%m%d) @@ -64,6 +64,9 @@ then $RELEASE_INSTALL_SCRIPT --ccs_inst_dir "$CCS_INSTALL_DIR" "$DEV_PACKAGE_DIR/$ENVIRONMENT/$NODE_NAME/ccsApplications.txt" + # Cleanup any existing dev-package-lists installation + rm -rf $DEV_PACKAGE_DIR + else echo "$VERIFY_USER" fi