Fix install script syntax error (#1805)

Fix hip-nvcc install warning on postinstall and prerm script
Bu işleme şunda yer alıyor:
paulfreddy authored and Maneesh Gupta committed 2020-01-24 16:22:57 +05:30
1 ebeveyn 8fc7cad90f
işleme 5cd5c62f29
2 files changed
+2 -2

No files matched your search

+1 -1
Dosyayı Görüntüle
@@ -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
Dosyayı Görüntüle
@@ -1,5 +1,5 @@
#!/bin/bash
if [ -L "/opt/rocm" ]
if [ -L "/opt/rocm" ] ; then
unlink /opt/rocm
fi