Fix install script syntax error (#1805)

Fix hip-nvcc install warning on postinstall and prerm script

[ROCm/clr commit: 5cd5c62f29]
此提交包含在:
paulfreddy
2020-01-24 02:52:57 -08:00
提交者 Maneesh Gupta
父節點 adb93af8c3
當前提交 fec5105d9c
共有 2 個檔案被更改,包括 2 行新增 和 2 行删除
+1 -1
查看文件
@@ -3,6 +3,6 @@
ROCMDIR=@ROCM_PATH@
HIPDIR=$ROCMDIR/hip
if [ -d $ROCMDIR]
if [ -d $ROCMDIR] ; then
ln -s -f $ROCMDIR /opt/rocm
fi
+1 -1
查看文件
@@ -1,5 +1,5 @@
#!/bin/bash
if [ -L "/opt/rocm" ]
if [ -L "/opt/rocm" ] ; then
unlink /opt/rocm
fi