From 9b9c070eccaec8e76fba9d5ce45592ddc0ab3429 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 08 Jun 2014 14:23:25 -0400 Subject: miniprokit.sh: Delete .opk files sooner. --- 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() -- cgit v0.9.1