调整问题
This commit is contained in:
parent
442cc071da
commit
49b21989a8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user