summaryrefslogtreecommitdiffstats
path: root/lib/cmd/include.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cmd/include.sh')
-rw-r--r--lib/cmd/include.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/cmd/include.sh b/lib/cmd/include.sh
index a6dd05c..e38aab8 100644
--- a/lib/cmd/include.sh
+++ b/lib/cmd/include.sh
@@ -18,6 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
use control
+use locale
+use output
CMD_INCLUDE_CHANGES_FIELDS='Format Source Binary Version Architecture Platform
Distribution Maintainer Changed-By Date Description Changes Files'
@@ -76,7 +78,7 @@ cmd_include()
mkdir -p "${pool_dist_db}"
printf '%s\n' "${cmd_include_version}" \
>"${pool_dist_db}/version"
- printf 'Including %s (%s) into %s:\n' "${cmd_include_source}" \
+ info "$(get_msg 'cmd_include_including')" "${cmd_include_source}" \
"${cmd_include_version}" "${cmd_include_distribution}"
while read -r size file; do
if [ "x$(echo ${file})" = 'x' ]; then
@@ -85,12 +87,6 @@ cmd_include()
IFS='_' read -r pkg binver arch plat <<-EOF
${file%.opk}
EOF
- printf ' %s:\n' "${file}"
- printf ' Package: %s\n' "${pkg}"
- printf ' Version: %s\n' "${binver}"
- printf ' Architecture: %s\n' "${arch}"
- printf ' Platform: %s\n' "${plat}"
- printf ' Size: %s\n' "${size}"
printf '%s\n' "${pool_dir}/${file}" \
>>"${pool_dist_db}/files"
cp -p "$(dirname "${changes}")/${file}" \