Commit cde5b79e authored by Philip Müller's avatar Philip Müller

[generate] fix date

parent f1ade808
......@@ -2,6 +2,7 @@
VERSIONLIST=("340" "390" "418" "430" "435" "440" "450" "455")
PRIORITY=0
DATE=$(date +%Y.%m.%d)
# $1 template path
# $2 output path
......@@ -27,7 +28,7 @@ function generateConfigForVersion
CONKMOD="${CONKMOD[@]}"
mkdir "$2"
sed -e "s/%VERSION%/${3}/g; s/%PRIORITY%/${PRIORITY}/g; s/%CONFLICTS%/${CONFLICTS}/g; s/%CONFLICTS_64%/${CONFLICTS_64}/g; s/%CONKMOD%/${CONKMOD}/g" "$1" > "${2}/MHWDCONFIG"
sed -e "s/%DATE%/${DATE}/g; s/%VERSION%/${3}/g; s/%PRIORITY%/${PRIORITY}/g; s/%CONFLICTS%/${CONFLICTS}/g; s/%CONFLICTS_64%/${CONFLICTS_64}/g; s/%CONKMOD%/${CONKMOD}/g" "$1" > "${2}/MHWDCONFIG"
let "PRIORITY++"
}
......
......@@ -2,7 +2,7 @@
NAME="video-hybrid-amd-nvidia-%VERSION%xx-prime"
INFO="Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver."
VERSION="2019.10.25"
VERSION="%DATE%"
FREEDRIVER="false"
PRIORITY="%PRIORITY%"
......
......@@ -2,7 +2,7 @@
NAME="video-hybrid-intel-nvidia-%VERSION%xx-bumblebee"
INFO="Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver."
VERSION="2019.10.25"
VERSION="%DATE%"
FREEDRIVER="false"
PRIORITY="%PRIORITY%"
......
......@@ -2,7 +2,7 @@
NAME="video-hybrid-intel-nvidia-%VERSION%xx-prime"
INFO="Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver."
VERSION="2019.10.25"
VERSION="%DATE%"
FREEDRIVER="false"
PRIORITY="%PRIORITY%"
......
......@@ -2,7 +2,7 @@
NAME="video-nvidia-%VERSION%xx"
INFO="Closed source NVIDIA drivers for linux."
VERSION="2019.10.25"
VERSION="%DATE%"
FREEDRIVER="false"
PRIORITY="%PRIORITY%"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment