Fix install script syntax error (#1805)

Fix hip-nvcc install warning on postinstall and prerm script

[ROCm/clr commit: 5cd5c62f29]
This commit is contained in:
paulfreddy
2020-01-24 02:52:57 -08:00
committed by Maneesh Gupta
orang tua adb93af8c3
melakukan fec5105d9c
2 mengubah file dengan 2 tambahan dan 2 penghapusan
@@ -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,5 +1,5 @@
#!/bin/bash
if [ -L "/opt/rocm" ]
if [ -L "/opt/rocm" ] ; then
unlink /opt/rocm
fi