openwrt/package
Jo-Philipp Wich 7f69458296 base-files: rework postinstall uci-defaults handling
Some package postinstall operations, e.g. those emitted by the LuCI build
system, source and delete the uci-defaults themselves upon package insteall,
causing the generic defaults apply code to trigger shell errors like:

    .../luci-app-ddns.postinst: .: line 130: can't open './40_luci-ddns'

Rework the generic apply code to check the existence of the uci-defaults
script before trying to source it, use sed to prefilter the list of entries
from the control file and perform the directory change in a subshell,
avoiding the need for cd $OLDPWD.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-05-27 10:27:45 +02:00
..
base-files base-files: rework postinstall uci-defaults handling 2016-05-27 10:27:45 +02:00
boot package/uboot-envtools: add OpenMesh MR1750v2 support 2016-05-23 12:19:26 +02:00
devel perf: disable libcrypto dependency 2016-05-19 14:12:11 +02:00
firmware package: flag further target specific packages as nonshared 2016-04-26 23:26:43 +02:00
kernel conntrack: enable support for netfilter conntrack zones 2016-05-24 13:30:57 +02:00
libs libpcap: set a static default for PCAP_HAS_USB 2016-05-21 20:02:10 +02:00
network iproute2: Use URL alias 2016-05-24 19:42:49 +02:00
system procd: Update to latest head 2016-05-24 17:03:02 +02:00
utils util-linux: fix sfdisk 2016-05-27 10:27:45 +02:00
Makefile include: choose package output directory based on repository info 2016-04-06 21:55:44 +02:00