#!/bin/sh

RELEASE=18.4R3-S11.1
echo "${RELEASE%-[CN][0-9]*}" > $PKGSETS/$PKGSET/junos-release

# Copy additional configuration given during upgrade
if [ -n "$upgrade_with_config_files" ]; then
    dir_upgrade_config=$PKGSETS/$PKGSET/upgrade-config
    mkdir -p $dir_upgrade_config
    cp $upgrade_with_config_files $dir_upgrade_config
fi
# we do not need any of these any more
rm -f $PKGDIR/*.tgz
