Skip to content

Commit 9695bf1

Browse files
author
Kamil Aronowski
committed
Fix for Scientific Linux
1 parent 4cf574f commit 9695bf1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

migrate2eurolinux.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,11 @@ update_initrd() {
687687

688688
el_distro_sync() {
689689
# Make sure all packages are synchronized with the ones EuroLinux provides.
690+
691+
set +e
692+
for file in /etc/yum/protected.d/*.conf ; do mv "${file}" "${file}.disabled" ; done
693+
set -e
694+
690695
echo "Switch successful. Syncing with EuroLinux repositories..."
691696
if ! yum -y distro-sync ; then
692697
exit_message "Could not automatically sync with EuroLinux repositories.

0 commit comments

Comments
 (0)