From 4807f5e136d2a93067b770e5c8a49d25ab96b607 Mon Sep 17 00:00:00 2001
From: Sven-Hendrik Haase <svenstaro@archlinux.org>
Date: Tue, 14 Nov 2023 03:20:19 +0100
Subject: [PATCH] upgpkg: 12.3.0-6: Permission clean up of
 /etc/profile.d/rustup.sh (FS#79651)

---
 .SRCINFO | 2 +-
 PKGBUILD | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 963f13f..2aa3bc2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = cuda
 	pkgdesc = NVIDIA's GPU programming toolkit
 	pkgver = 12.3.0
-	pkgrel = 5
+	pkgrel = 6
 	url = https://developer.nvidia.com/cuda-zone
 	install = cuda.install
 	arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 1535340..3fca3ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=(cuda cuda-tools)
 pkgbase=cuda
 pkgver=12.3.0
 _driverver=545.23.06
-pkgrel=5
+pkgrel=6
 pkgdesc="NVIDIA's GPU programming toolkit"
 arch=('x86_64')
 url="https://developer.nvidia.com/cuda-zone"
@@ -109,7 +109,7 @@ build() {
   ln -s /usr/bin/g++-12 "${_prepdir}/opt/cuda/bin/g++"
 
   # Install profile and ld.so.config files
-  install -Dm755 "${srcdir}/cuda.sh" "${_prepdir}/etc/profile.d/cuda.sh"
+  install -Dm644 "${srcdir}/cuda.sh" "${_prepdir}/etc/profile.d/cuda.sh"
   install -Dm644 "${srcdir}/cuda.conf" "${_prepdir}/etc/ld.so.conf.d/cuda.conf"
 
   # Install pkgconfig files
-- 
GitLab