mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
echo when performing the repo actions for 2.3.50
This commit is contained in:
@@ -421,12 +421,13 @@ up_2.3.2X_to_2.3.30() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
up_2.3.3X_to_2.3.50_repo() {
|
up_2.3.3X_to_2.3.50_repo() {
|
||||||
|
echo 'Performing 2.3.50 repo actions.'
|
||||||
if [[ "$OS" == "centos" ]]; then
|
if [[ "$OS" == "centos" ]]; then
|
||||||
# Import GPG Keys
|
# Import GPG Keys
|
||||||
gpg_rpm_import
|
gpg_rpm_import
|
||||||
|
|
||||||
if [ $is_airgap -eq 1 ]; then
|
if [ $is_airgap -eq 1 ]; then
|
||||||
|
echo 'Deleting unneeded repo files.'
|
||||||
DELREPOS=('CentOS-Base' 'CentOS-CR' 'CentOS-Debuginfo' 'docker-ce' 'CentOS-fasttrack' 'CentOS-Media' 'CentOS-Sources' 'CentOS-Vault' 'CentOS-x86_64-kernel' 'epel' 'epel-testing' 'saltstack' 'wazuh')
|
DELREPOS=('CentOS-Base' 'CentOS-CR' 'CentOS-Debuginfo' 'docker-ce' 'CentOS-fasttrack' 'CentOS-Media' 'CentOS-Sources' 'CentOS-Vault' 'CentOS-x86_64-kernel' 'epel' 'epel-testing' 'saltstack' 'wazuh')
|
||||||
|
|
||||||
for DELREPO in ${DELREPOS[@]}; do
|
for DELREPO in ${DELREPOS[@]}; do
|
||||||
|
|||||||
Reference in New Issue
Block a user