diff --git a/PKGBUILD/linux/PKGBUILD b/PKGBUILD/linux/PKGBUILD index 3434ee0..cd3b96e 100644 --- a/PKGBUILD/linux/PKGBUILD +++ b/PKGBUILD/linux/PKGBUILD @@ -7,11 +7,16 @@ pkgbase=linux pkgver=6.12.3 -pkgrel=2 +pkgrel=3 pkgdesc="Linux Stable" arch=(x86_64) url="https://kernel.org/" license=(GPL-2.0-only) + +ayaneo_platform="v0.3.4" +ayn_platform="v0.5.2" +hid_msi_claw="20240922" + makedepends=( bc cpio @@ -104,9 +109,9 @@ _make() { prepare() { cd ${_srcname}/drivers - git clone https://github.com/SteamFork/ayaneo-platform.git - git clone https://github.com/SteamFork/ayn-platform.git - git -c advice.detachedHead=false clone -b 20240922 --depth=1 https://github.com/SteamFork/hid-msi-claw.git + git -c advice.detachedHead=false clone -b $ayaneo_platform --depth=1 https://github.com/ShadowBlip/ayaneo-platform.git + git -c advice.detachedHead=false clone -b $ayn_platform --depth=1 https://github.com/ShadowBlip/ayn-platform.git + git -c advice.detachedHead=false clone -b $hid_msi_claw --depth=1 https://github.com/SteamFork/hid-msi-claw.git cd .. echo "Setting version..." diff --git a/scripts/sync b/scripts/sync index 8bf9a3e..7d455a4 100755 --- a/scripts/sync +++ b/scripts/sync @@ -80,8 +80,8 @@ case ${1} in for HOST in ${WWWUSER}@${WWWHOST} ${MIRROR_HOSTS} do echo "Swap to release images on ${HOST}." - ssh -tt ${HOST} "chown -R www-data:www-data ${WWWROOT}/images.new" - ssh -tt ${HOST} "rm -rf ${WWWROOT}/images.prev; mv ${WWWROOT}/images ${WWWROOT}/images.prev; mv ${WWWROOT}/images.new/ ${WWWROOT}/images" + ssh -tt ${HOST} "sudo chown -R www-data:www-data ${WWWROOT}/images.new" + ssh -tt ${HOST} "sudo rm -rf ${WWWROOT}/images.prev; sudo mv ${WWWROOT}/images ${WWWROOT}/images.prev; sudo mv ${WWWROOT}/images.new/ ${WWWROOT}/images" done private_key remove ;;