修复重复编译的问题

This commit is contained in:
2024-05-08 22:26:04 +08:00
parent 9d9a2644c2
commit 80ca0e0dbe
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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-linux-kernel/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-kernel-gxde-gfdgdxi-$1-hwe/linux-kernel-gxde-gfdgdxi-$1-hwe_${VERSION}_amd64.deb | grep 404
result=$? result=$?
else else
curl https://github.com/gfdgd-xi/gxde-linux-kernel/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-kernel-gxde-gfdgdxi-$1/linux-kernel-gxde-gfdgdxi-${1}_${VERSION}_amd64.deb | grep 404
result=$? result=$?
fi fi
if [[ $result != 0 ]]; then if [[ $result != 0 ]]; then
+2 -2
View File
@@ -20,10 +20,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-linux-kernel/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-kernel-gxde-$1-xanmod-hwe/linux-kernel-gxde-gfdgdxi-xanmod-$1-hwe_${VERSION}_amd64.deb | grep 404
result=$? result=$?
else else
curl https://github.com/gfdgd-xi/gxde-linux-kernel/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-kernel-gxde-gfdgdxi-$1-xanmod/linux-kernel-gxde-gfdgdxi-xanmod-${1}_${VERSION}_amd64.deb | grep 404
result=$? result=$?
fi fi
if [[ $result != 0 ]]; then if [[ $result != 0 ]]; then