Fix install script syntax error (#1805)

Fix hip-nvcc install warning on postinstall and prerm script

[ROCm/clr commit: 5cd5c62f29]
Este commit está contenido en:
paulfreddy
2020-01-24 02:52:57 -08:00
cometido por Maneesh Gupta
padre adb93af8c3
commit fec5105d9c
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
+1 -1
Ver fichero
@@ -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
Ver fichero
@@ -1,5 +1,5 @@
#!/bin/bash
if [ -L "/opt/rocm" ]
if [ -L "/opt/rocm" ] ; then
unlink /opt/rocm
fi