openwrtv4/package
Marko Ratkaj 73c745f64f 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:18:22 +01:00
..
base-files functions.sh: fix default_postinst function 2017-11-08 23:18:22 +01:00
boot sunxi: add Orange Pi 2 support 2017-11-06 16:39:41 +01:00
devel gdb: bump to 8.0.1 2017-09-29 06:33:39 +03:00
firmware ath10k-firmware: qca9888 firmware: remove board.bin 2017-10-27 00:45:32 +02:00
kernel ltq-ptm: add missing depency to ltq-?dsl-*-mei 2017-11-07 22:58:58 +01:00
libs openssl: fix cryptodev config dependency 2017-11-06 16:39:41 +01:00
network firewall: update to latest git HEAD 2017-11-07 22:35:46 +01:00
system ubox: update to the latest version, fixes syslog issues 2017-11-06 11:58:40 +01:00
utils adb: fix package description 2017-10-29 16:16:35 +01:00
Makefile build: cleanup tmp/ dir of target rootfs 2017-05-02 22:10:50 +08:00