From 65dc6bda2fb7231aa2f24c92630cf2aa24bcc940 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Sat, 9 Sep 2023 15:36:59 +0200 Subject: [PATCH] Suse: Pass --oldpackage to zypper install. This allows using older kernel versions without having to handle installation by hand, while apparently not preventing installing a newer version. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 363de41..33e0d70 100755 --- a/install.sh +++ b/install.sh @@ -287,7 +287,7 @@ if [ "$1" = "install" ]; then fi msg2 "Some files from 'linux-glibc-devel' will be replaced by files from the custom kernel-hearders package" msg2 "To revert back to the original kernel headers do 'sudo zypper install -f linux-glibc-devel'" - sudo zypper install --allow-unsigned-rpm $_kernel_rpm $_kernel_devel_rpm $_kernel_syms_rpm + sudo zypper install --oldpackage --allow-unsigned-rpm $_kernel_rpm $_kernel_devel_rpm $_kernel_syms_rpm fi if [ "$_distro" = "Suse" ]; then