Merge pull request #10 from cfreehill/master

Add postinst and prerm scripts for debian and rpm

[ROCm/amdsmi commit: b2eb5d79c6]
Bu işleme şunda yer alıyor:
Chris Freehill
2019-01-10 11:39:56 -06:00
işlemeyi yapan: GitHub
işleme b65811ce9c
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
+1 -1
Dosyayı Görüntüle
@@ -3,7 +3,7 @@
set -e
do_ldconfig() {
echo /opt/rocm/lib > /etc/ld.so.conf.d/x86_64-librocm_smi_lib.conf && ldconfig
echo /opt/rocm/rocm_smi/lib > /etc/ld.so.conf.d/x86_64-librocm_smi_lib.conf && ldconfig
}
case "$1" in
+2 -1
Dosyayı Görüntüle
@@ -1 +1,2 @@
echo -e "/opt/rocm/lib\n/opt/rocm/lib64" > /etc/ld.so.conf.d/x86_64-librocm_smi_lib.conf && ldconfig
echo -e "/opt/rocm/rocm_smi/lib\n/opt/rocm/rocm_smi/lib64" > /etc/ld.so.conf.d/x86_64-librocm_smi_lib.conf && ldconfig