Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed the pkg_url
  • Loading branch information
ericbsd committed Oct 26, 2023
1 parent 73658f8 commit 5b8f08f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sh
Expand Up @@ -152,6 +152,11 @@ packages_software()

fetch_x_drivers_packages()
{
if [ "${build_type}" = "release" ] ; then
pkg_url=$(pkg-static -R pkg/ -vv | grep '/stable' | cut -d '"' -f2)
else
pkg_url=$(pkg-static -R pkg/ -vv | grep '/unstable' | cut -d '"' -f2)
fi
mkdir ${release}/xdrivers
yes | pkg -R ${cwd}/pkg/ update
echo "$(pkg -R ${cwd}/pkg/ rquery -x -r ${PKGCONG} '%n %n-%v.pkg' 'nvidia-driver')" > ${release}/xdrivers/drivers-list
Expand Down

0 comments on commit 5b8f08f

Please sign in to comment.