base-files: refactor default_postinst()
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 16 Sep 2015 08:43:58 +0000 (08:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 16 Sep 2015 08:43:58 +0000 (08:43 +0000)
commit33b3594332924b15015a036b5e9b64982d5f15d1
tree1e89a7c375a10f33a54aca274af13b44b2723170
parent94295b80ffb0e5e6c188cedd3133de2606a8c9ec
base-files: refactor default_postinst()

 - Simplify user spec parsing code
 - Alias IPKG_INSTROOT to shorten code
 - Quote variables where appropriate
 - Remove a useless-use-of-cat instance
 - Suppress errors in case control or list files are missing

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46975
package/base-files/files/lib/functions.sh