diff options
Diffstat (limited to 'miniprokit.sh')
-rwxr-xr-x | miniprokit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miniprokit.sh b/miniprokit.sh index 0a32eee..abb7710 100755 --- a/miniprokit.sh +++ b/miniprokit.sh @@ -203,8 +203,6 @@ cmd_install() configure_pkgs "${root}" - rm "${root}/var/cache/opkg/archives/"*.opk - [ -r /etc/resolv.conf ] && cp /etc/resolv.conf "${root}/etc" [ -r /etc/hostname ] && cp /etc/hostname "${root}/etc" } @@ -272,6 +270,8 @@ get_pkg() fi printf 'Installed-Time: %s\n\n' "$(date '+%s')" >&3 exec 3>&- + + rm -f "${root}/${filename}" } configure_pkgs() |