修复重复编译的问题
This commit is contained in:
+2
-2
@@ -16,10 +16,10 @@ if [[ $2 == 1 ]]; then
|
||||
SHOWVERSION=$VERSION-hwe
|
||||
fi
|
||||
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=$?
|
||||
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=$?
|
||||
fi
|
||||
if [[ $result != 0 ]]; then
|
||||
|
||||
@@ -20,10 +20,10 @@ if [[ $2 == 1 ]]; then
|
||||
SHOWVERSION=$VERSION-hwe
|
||||
fi
|
||||
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=$?
|
||||
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=$?
|
||||
fi
|
||||
if [[ $result != 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user