diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-25 19:59:46 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-25 19:59:46 (EDT) |
commit | d72a12ba858af727801ef68c7201f1020915fcd8 (patch) | |
tree | 93f2c23e517a0686addb44eb07f6d2375709d2bf /src | |
parent | db1a9aceffab0ef52e882d25649fbe03ca9c95af (diff) |
install_get_pkgs(): Eliminate non-portable date %s
Diffstat (limited to 'src')
-rw-r--r-- | src/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh index f1340d9..02d26d3 100644 --- a/src/install.sh +++ b/src/install.sh @@ -294,7 +294,7 @@ install_get_pkgs() done <"${root}/$(profile_opkg_state_dir \ )/info/${pkg}.conffiles" fi - printf 'Installed-Time: %s\n\n' "$(date '+%s')" >&${status_fd} + printf 'Installed-Time: %d\n\n' $(time) >&${status_fd} rm -f -- "${root}/${fname}" done |