aboutsummaryrefslogtreecommitdiffstats
path: root/include/feeds.mk
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-15 17:55:13 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-15 17:55:13 +0000
commit9f53cd1006265a5062138c52d143c1d0ed5d4b05 (patch)
treedcac6fd07903982965c665eee2aed319cf41b306 /include/feeds.mk
parent557ac83ce44cd533406d130b0d5816d90b915795 (diff)
downloadupstream-9f53cd1006265a5062138c52d143c1d0ed5d4b05.tar.gz
upstream-9f53cd1006265a5062138c52d143c1d0ed5d4b05.tar.bz2
upstream-9f53cd1006265a5062138c52d143c1d0ed5d4b05.zip
default_postinst() fix wrong call of group_add
[base-files] default_postinst() fix wrong call of group_add after 12bae65d07d29854204715cebc1ef1eae237fd9b group_add is always called. shell scripting can be tricky... wrong call: [ -n "$gid" ] && group_exists $name || group_add $name $gid this leads to a call of 'group_add' when $gid is emtpy, proof: root@box:~ functionA() { echo A; } root@box:~ functionB() { echo B; } root@box:~ VAR= root@box:~ [ -n "$VAR" ] && functionA || functionB B root@box:~ # functionB was called, but VAR is not filled root@box:~ VAR=filled root@box:~ [ -n "$VAR" ] && functionA || functionB A Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42926 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/feeds.mk')
0 files changed, 0 insertions, 0 deletions