Compare commits

..

No commits in common. "530467d73c0d26bc1c94ceb9a36e84582151a19a" and "4ad1408305d871bf7e9a1b3bcbadbf34e0452cae" have entirely different histories.

2 changed files with 3 additions and 13 deletions

View File

@ -60,16 +60,6 @@ if hash dnf 2> /dev/null; then
dnf -v "$@" autoremove dnf -v "$@" autoremove
fi fi
# https://github.com/Homebrew/brew
if [[ -d /home/linuxbrew/.linuxbrew/bin && $(id -u) != 0 ]]; then
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
/home/linuxbrew/.linuxbrew/bin/brew doctor
/home/linuxbrew/.linuxbrew/bin/brew update --quiet
/home/linuxbrew/.linuxbrew/bin/brew upgrade --quiet
else
printf "Either linuxbrew is not installed or running as root, skipping linuxbrew...\n"
fi
if hash rpmconf 2> /dev/null; then if hash rpmconf 2> /dev/null; then
# Tests if there are rpmsave/rpmnew files, hopefully is non-interactive # Tests if there are rpmsave/rpmnew files, hopefully is non-interactive
rpmconf -a -t rpmconf -a -t

View File

@ -28,14 +28,14 @@ if [ -f /etc/machine-id ]; then
else else
printf "\nWARNING! Kernels mismatch! Suggested actions:\n" printf "\nWARNING! Kernels mismatch! Suggested actions:\n"
printf "\tsudo mkdir /boot/%b/%b\n" "$MACHINEID" "$EXPECTEDKERNEL" printf "\tsudo mkdir /boot/%b/%b\n" "$MACHINEID" "$EXPECTEDKERNEL"
printf "\tsudo kernel-install -v add %b /lib/modules/%b/vmlinuz\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL" printf "\tsudo kernel-install add %b /lib/modules/%b/vmlinuz\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL"
#printf "\tsudo dnf reinstall kernel-core-%b -y\n" "$EXPECTEDKERNEL" #printf "\tsudo dnf reinstall kernel-core-%b -y\n" "$EXPECTEDKERNEL"
printf "Please note that Lumina and Sedric have moved to UKI.\n" printf "Please note that Lumina and Sedric have moved to UKI.\n"
fi fi
fi fi
fi fi
echo "New kernel? Just in case, try sudo kernel-install -v add $(uname -r) # although using the actual new kernel version" echo "New kernel? Just in case, try sudo kernel-install add $(uname -r) # although using the actual new kernel version"
echo "Alternatively sudo kernel-install -v add-all" echo "Alternatively sudo kernel-install add-all"
#set +x #set +x