调整问题

This commit is contained in:
gfdgd xi 2024-05-04 19:48:11 +08:00
parent 442cc071da
commit 49b21989a8
3 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ VERSION=`cat /tmp/kernelversion.txt`
URL=`cat /tmp/kernelurl.txt`
MAINVERSION=`expr substr $VERSION 1 1`
SHOWVERSION=$VERSION-arm64
curl https://github.com/gfdgd-xi/gxde-kernel-manager/raw/main/l/linux-headers-$VERSION-arm64-gfdgdxi-desktop/lock | grep 404
curl https://github.com/gfdgd-xi/gxde-linux-kernel/raw/main/l/linux-headers-$VERSION-arm64-gfdgdxi-desktop/lock | grep 404
result=$?
if [[ $result != 0 ]]; then
exit

View File

@ -16,10 +16,10 @@ if [[ $2 == 1 ]]; then
SHOWVERSION=$VERSION-hwe
fi
if [[ $2 == 1 ]]; then
curl https://github.com/gfdgd-xi/gxde-kernel-manager/raw/main/l/linux-headers-$VERSION-amd64-gfdgdxi-desktop-hwe/lock | grep 404
curl https://github.com/gfdgd-xi/gxde-linux-kernel/raw/main/l/linux-headers-$VERSION-amd64-gfdgdxi-desktop-hwe/lock | grep 404
result=$?
else
curl https://github.com/gfdgd-xi/gxde-kernel-manager/raw/main/l/linux-headers-$VERSION-amd64-gfdgdxi-desktop/lock | grep 404
curl https://github.com/gfdgd-xi/gxde-linux-kernel/raw/main/l/linux-headers-$VERSION-amd64-gfdgdxi-desktop/lock | grep 404
result=$?
fi
if [[ $result != 0 ]]; then

View File

@ -21,10 +21,10 @@ if [[ $2 == 1 ]]; then
SHOWVERSION=$VERSION-hwe
fi
if [[ $2 == 1 ]]; then
curl https://github.com/gfdgd-xi/gxde-kernel-manager/raw/main/l/linux-headers-$VERSION-amd64-xanmod-gfdgdxi-desktop-hwe/lock | grep 404
curl https://github.com/gfdgd-xi/gxde-linux-kernel/raw/main/l/linux-headers-$VERSION-amd64-xanmod-gfdgdxi-desktop-hwe/lock | grep 404
result=$?
else
curl https://github.com/gfdgd-xi/gxde-kernel-manager/raw/main/l/linux-headers-$VERSION-amd64-xanmod-gfdgdxi-desktop/lock | grep 404
curl https://github.com/gfdgd-xi/gxde-linux-kernel/raw/main/l/linux-headers-$VERSION-amd64-xanmod-gfdgdxi-desktop/lock | grep 404
result=$?
fi
if [[ $result != 0 ]]; then