We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34ceebc commit ad7b6eeCopy full SHA for ad7b6ee
src/CMake/config/postinst.in
@@ -80,12 +80,12 @@ done
80
rmmodules
81
82
DRACUT_CONF_PATH=/etc/dracut.conf.d
83
-if [ -e $DRACUT_CONF_PATH ] && [ $alveo == 1]; then
+if [ -e $DRACUT_CONF_PATH ] && [ $alveo -eq 1 ]; then
84
install -m 644 /usr/src/xrt-@XRT_VERSION_STRING@/driver/xocl/userpf/xocl.dracut.conf $DRACUT_CONF_PATH
85
install -m 644 /usr/src/xrt-@XRT_VERSION_STRING@/driver/xocl/mgmtpf/xclmgmt.dracut.conf $DRACUT_CONF_PATH
86
fi
87
88
-if [ $alveo == 0]; then
+if [ $alveo -eq 0 ]; then
89
echo "Skipping XRT Alveo driver install"
90
exit 0
91
0 commit comments