From f80f60cb47766f17ffe87779d217e4f47eca0e51 Mon Sep 17 00:00:00 2001 From: "nap.liu" Date: Mon, 15 May 2023 11:38:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20gststreamer=20=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patcher.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/patcher.sh b/patcher.sh index 349ba98..5ef3bcd 100755 --- a/patcher.sh +++ b/patcher.sh @@ -155,14 +155,15 @@ function patch() { info "Patching gstreamer done" # force refresh gstreamer plugin cache - rm -rf /var/packages/VideoStation/etc/gstreamer-1.0/registry.aarch64.bin - # rm -rf /var/packages/CodecPack/etc/gstreamer-1.0/registry.aarch64.bin + # rm -rf /var/packages/VideoStation/etc/gstreamer-1.0/registry.aarch64.bin + rm -rf /var/packages/CodecPack/etc/gstreamer-1.0/registry.aarch64.bin info "Refresh gstreamer plugin cache done" rm "/tmp/$patch_package" + else + info "gstreamer is patched skip patch" fi - restart_packages echo ""