From 71b9ce3bd48165d2c9c2e0c272bc44096aa41678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 6 Dec 2017 18:24:44 +0000 Subject: subr/pkg_install.subr, vars/dist_{etc,minipix_dist}.vars: explicitly pass --overwrite to tar(1). --- vars/dist_etc.vars | 2 +- vars/dist_minipix_dist.vars | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vars') diff --git a/vars/dist_etc.vars b/vars/dist_etc.vars index 6ed6f80a..6a4268b5 100644 --- a/vars/dist_etc.vars +++ b/vars/dist_etc.vars @@ -5,7 +5,7 @@ pkg_dist_etc_all() { tar -C "${MIDIPIX_BUILD_PWD}/etc" -cpf - \ midipix.sh README midipix_shortcut.vbs |\ - tar -C "${PREFIX}" -xpf -; + tar -C "${PREFIX}" --overwrite -xpf -; chmod +x "${PREFIX}/midipix.sh"; }; diff --git a/vars/dist_minipix_dist.vars b/vars/dist_minipix_dist.vars index 8cb8d555..936eabb5 100644 --- a/vars/dist_minipix_dist.vars +++ b/vars/dist_minipix_dist.vars @@ -24,7 +24,7 @@ pkg_dist_minipix_dist_all() { "${_dist_pfx}/share/terminfo/${_term_letter}"; done; tar -C "${PREFIX_NATIVE}/share" -cpf - terminfo |\ - tar -C "${_dist_pfx}/bin" -xpf -; + tar -C "${_dist_pfx}/bin" --overwrite -xpf -; }; # vim:filetype=sh -- cgit v1.2.3