Skip to content
Snippets Groups Projects
Verified Commit 599549a1 authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

opkg: Do not delete the wrapper in the patch

parent 1e7264bc
Branches
Tags
No related merge requests found
......@@ -25,6 +25,18 @@ index 4f89d9ec6c..63302a06ed 100644
ifneq ($(CONFIG_SIGNED_PACKAGES),)
echo "option check_signature" >> $(1)/etc/opkg.conf
endif
diff --git a/package/system/opkg/files/opkg_wrapper.sh b/package/system/opkg/files/opkg_wrapper.sh
new file mode 100755
index 0000000..654b23d
--- /dev/null
+++ b/package/system/opkg/files/opkg_wrapper.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+if which opkg-pkgupdate-wrapper.sh >/dev/null 2>&1; then
+ exec opkg-pkgupdate-wrapper.sh "$@"
+else
+ exec /bin/opkg-cl "$@"
+fi
--
2.20.1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment