moved apt-get clean in debian images + added apt-get update to enhance first apt-get install speed
This commit is contained in:
parent
7c00b8a372
commit
1a126603ed
|
@ -56,7 +56,6 @@ patch_target() {
|
||||||
|
|
||||||
clean_target() {
|
clean_target() {
|
||||||
clean_paths=$1
|
clean_paths=$1
|
||||||
do_in_target apt-get clean
|
|
||||||
for path in $clean_paths; do
|
for path in $clean_paths; do
|
||||||
if [ -e "$TARGET/$path" ]; then
|
if [ -e "$TARGET/$path" ]; then
|
||||||
sudo rm -rf "$TARGET/$path"
|
sudo rm -rf "$TARGET/$path"
|
||||||
|
|
Loading…
Reference in New Issue