diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-01-24 18:55:13 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-01-24 19:08:41 +0100 |
commit | 86ccaf4c18dabec9761e71a31d1456611cf1cdf9 (patch) | |
tree | 2b30edfcbb5e2fcc68d175fb5d4ebcd5a3aa1c8b /scripts/dl_cleanup.py | |
parent | 7e1fc09c4f2cc1656f315abaf6d3ba0eb11aa3fa (diff) | |
download | upstream-86ccaf4c18dabec9761e71a31d1456611cf1cdf9.tar.gz upstream-86ccaf4c18dabec9761e71a31d1456611cf1cdf9.tar.bz2 upstream-86ccaf4c18dabec9761e71a31d1456611cf1cdf9.zip |
base-files: fix user creation on sysupgrade with few opkg control files
If only a single opkg control file exists (which can happen with
CONFIG_CLEAN_IPKG), grep would not print the file name by default. Instead
of forcing it using -H, we just switch to -l (print only file names) and
get rid of the cut.
Add -s to suppress an error message when no control files exist.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'scripts/dl_cleanup.py')
0 files changed, 0 insertions, 0 deletions