调整问题
This commit is contained in:
parent
442cc071da
commit
49b21989a8
@ -11,7 +11,7 @@ VERSION=`cat /tmp/kernelversion.txt`
|
|||||||
URL=`cat /tmp/kernelurl.txt`
|
URL=`cat /tmp/kernelurl.txt`
|
||||||
MAINVERSION=`expr substr $VERSION 1 1`
|
MAINVERSION=`expr substr $VERSION 1 1`
|
||||||
SHOWVERSION=$VERSION-arm64
|
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=$?
|
result=$?
|
||||||
if [[ $result != 0 ]]; then
|
if [[ $result != 0 ]]; then
|
||||||
exit
|
exit
|
||||||
|
@ -16,10 +16,10 @@ if [[ $2 == 1 ]]; then
|
|||||||
SHOWVERSION=$VERSION-hwe
|
SHOWVERSION=$VERSION-hwe
|
||||||
fi
|
fi
|
||||||
if [[ $2 == 1 ]]; then
|
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=$?
|
result=$?
|
||||||
else
|
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=$?
|
result=$?
|
||||||
fi
|
fi
|
||||||
if [[ $result != 0 ]]; then
|
if [[ $result != 0 ]]; then
|
||||||
|
@ -21,10 +21,10 @@ if [[ $2 == 1 ]]; then
|
|||||||
SHOWVERSION=$VERSION-hwe
|
SHOWVERSION=$VERSION-hwe
|
||||||
fi
|
fi
|
||||||
if [[ $2 == 1 ]]; then
|
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=$?
|
result=$?
|
||||||
else
|
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=$?
|
result=$?
|
||||||
fi
|
fi
|
||||||
if [[ $result != 0 ]]; then
|
if [[ $result != 0 ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user