mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add more whiptail menus
This commit is contained in:
@@ -2440,8 +2440,8 @@ securityonion_repo() {
|
||||
# update this package because the repo config files get added back
|
||||
# if the package is updated when the update_packages function is called
|
||||
logCmd "yum -v -y update centos-release"
|
||||
echo "Move the .repo files that were added by the centos-release package."
|
||||
find /etc/yum.repos.d/ -type f -not -name 'securityonion*repo' -print0 | xargs -0 -I {} mv -bvf {} /root/oldrepos/
|
||||
echo "Backing up the .repo files that were added by the centos-release package."
|
||||
logCmd "find /etc/yum.repos.d/ -type f -not -name 'securityonion*repo' -print0 | xargs -0 -I {} mv -bvf {} /root/oldrepos/"
|
||||
logCmd "yum repolist all"
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user