1
eval `dpkg-architecture`
7
if [ "$DEB_BUILD_ARCH" = "amd64" ] ; then
8
BASE_URL=ftp://download.nvidia.com/XFree86/Linux-x86_64/${RELEASE}
9
DIRNAME=NVIDIA-Linux-x86_64-${RELEASE}-pkg2
10
# change this on next version release
12
elif [ "$DEB_BUILD_ARCH" = "i386" ] ; then
13
BASE_URL=ftp://download.nvidia.com/XFree86/Linux-x86/${RELEASE}
14
DIRNAME=NVIDIA-Linux-x86-${RELEASE}-pkg0
15
FILENAME="$DIRNAME.run"
17
echo "huh? dont know about a version of this driver for your architecture."
20
FILENAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg0.run
21
FILENAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2.run
22
DIRNAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg0
23
DIRNAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2
26
UPSTREAMVERSION=${RELEASE}
27
URL=${BASE_URL}/${FILENAME}
31
echo "${BASE_VERSION}"
49
echo "$FILENAME_X86_64"
55
echo "$DIRNAME_X86_64"
64
echo "$UPSTREAMVERSION"