From 14f2965b26d81d6c3af03f0fc93cf825396ceeb3 Mon Sep 17 00:00:00 2001 From: ich777 Date: Tue, 25 May 2021 17:37:30 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eamd-vendor-reset.plg=E2=80=9C=20=C3=A4?= =?UTF-8?q?ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- amd-vendor-reset.plg | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/amd-vendor-reset.plg b/amd-vendor-reset.plg index db5fe8e..92ba919 100644 --- a/amd-vendor-reset.plg +++ b/amd-vendor-reset.plg @@ -88,10 +88,9 @@ depmod -a modprobe vendor_reset } -#Check if vendor-reset is allready downloaded +#Check if vendor-reset is already downloaded check - if [ ! -z "$(lsmod | grep "vendor_reset")" ]; then modprobe vendor_reset echo @@ -107,8 +106,8 @@ else fi #Install icon -if [ -f "&emhttp;/images/AMD-Vendor-Reset.png ]; then - if [ -d "&emhttp;/images" ]; then +if [ ! -f "&emhttp;/images/AMD-Vendor-Reset.png ]; then + if [ ! -d "&emhttp;/images" ]; then mkdir -p &emhttp;/images fi cp &plugin;/AMD-Vendor-Reset.png &emhttp;/images/