mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-29 22:59:22 +01:00
Compare commits
No commits in common. "530467d73c0d26bc1c94ceb9a36e84582151a19a" and "4ad1408305d871bf7e9a1b3bcbadbf34e0452cae" have entirely different histories.
530467d73c
...
4ad1408305
@ -60,16 +60,6 @@ if hash dnf 2> /dev/null; then
|
||||
dnf -v "$@" autoremove
|
||||
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
|
||||
# Tests if there are rpmsave/rpmnew files, hopefully is non-interactive
|
||||
rpmconf -a -t
|
||||
|
@ -28,14 +28,14 @@ if [ -f /etc/machine-id ]; then
|
||||
else
|
||||
printf "\nWARNING! Kernels mismatch! Suggested actions:\n"
|
||||
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 "Please note that Lumina and Sedric have moved to UKI.\n"
|
||||
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 "Alternatively sudo kernel-install -v add-all"
|
||||
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 add-all"
|
||||
|
||||
#set +x
|
||||
|
Loading…
Reference in New Issue
Block a user