[Slackbuilds-users] nvidia-driver: explicit use of package version instead of VERSION reference
John Vogel
jvogel4 at stny.rr.com
Sat Oct 25 01:33:40 UTC 2014
I'm not clear if this is even an issue; near the end of the SlackBuild script,
there are two lines that explicitly use the package version rather that
referencing the VERSION variable. I've inlined a patch for what I use locally
when building the nvidia-driver package.
--
diff -Naur a/nvidia-driver.SlackBuild b/nvidia-driver.SlackBuild
--- a/nvidia-driver.SlackBuild 2014-10-24 21:24:00.905048903 -0400
+++ b/nvidia-driver.SlackBuild 2014-10-24 21:29:37.261065428 -0400
@@ -331,8 +331,8 @@
# nvidia-settings application profile support
mkdir -p $PKG/usr/share/nvidia
-install -m 755 nvidia-application-profiles-340.24-key-documentation $PKG/usr/share/nvidia/
-install -m 755 nvidia-application-profiles-340.24-rc $PKG/usr/share/nvidia/
+install -m 755 nvidia-application-profiles-${VERSION}-key-documentation $PKG/usr/share/nvidia/
+install -m 755 nvidia-application-profiles-${VERSION}-rc $PKG/usr/share/nvidia/
mkdir -p $PKG/install
sed "s/PKGVERSION/$VERSION/g" $CWD/slack-desc > $PKG/install/slack-desc
--
Cheers,
John
More information about the SlackBuilds-users
mailing list