1
0
Fork 0
forked from mirror/openwrt
openwrt/package
Marko Ratkaj a0ef1c478a functions.sh: fix default_postinst function
When we run "opkg install" on a package that installs an uci-defaults
script, functions.sh will fail to evaluate that script in its
default_postinst function.

This happens because there is no "./" present and it searches for the
file in paths specified by the PATH variable. This would work on bash,
but it will not work on ash and some other shells like sh, zsh. This
applys to the ". filename" directive used in this case.

This patch will make the path relative to the /etc/uci-defaults
directory.

Fixes: FS#1021

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-11-08 23:26:20 +01:00
..
base-files functions.sh: fix default_postinst function 2017-11-08 23:26:20 +01:00
boot uboot-envtools: add support for ALFA Network AP121F 2017-07-23 00:26:51 +02:00
devel binutils: fix build with host gcc < 4.9 2017-05-24 18:05:18 +02:00
firmware ath10k-firmware: do not select the qca988x by default 2017-05-27 14:22:16 +02:00
kernel mac80211: backport kernel fix for CVE-2017-13080 2017-10-17 01:57:05 +03:00
libs uclient: update to the latest version, fixes fetch of multiple files 2017-11-03 10:56:47 +01:00
network wireguard: version bump to 0.0.20171101 2017-11-05 12:50:18 +01:00
system opkg: bump to 2017-10-23 (lede-17.01) 2017-10-23 23:48:25 +02:00
utils f2fs-tools: fix mkfs.f2fs on big-endian systems 2017-09-03 10:14:09 +03:00
Makefile build: fix triggering opkg/host compilation 2017-04-09 15:42:20 +02:00