diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/abslibre-tools/libredbdiff | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/abslibre-tools/libredbdiff b/src/abslibre-tools/libredbdiff index 24a716d..50208f2 100755 --- a/src/abslibre-tools/libredbdiff +++ b/src/abslibre-tools/libredbdiff @@ -1,6 +1,6 @@ #!/usr/bin/env bash -name="Libredbdiff" - +# libredbdiff +# # Copyright (C) 2014 Esteban Carnevale <alfplayer@mailoo.org> # Copyright (C) 2014, 2017 Luke Shumaker <lukeshu@sbcglobal.net> # @@ -32,12 +32,13 @@ dbpath_arch="$statedir/pacman.archlinux" mirrorlist_prbl="$statedir/mirrorlist.parabola" mirrorlist_arch="$statedir/mirrorlist.archlinux" -field_pkgname_prbl=30 -field_pkgname_arch=30 - +name="Libredbdiff" cmd="${0##*/}" +field_pkgname_prbl=30 +field_pkgname_arch=30 field_pkgname_total="$((field_pkgname_prbl + field_pkgname_arch))" + printf_format="%s %-${field_pkgname_prbl}s%-${field_pkgname_arch}s %s | %s\n" printf_format_noarch="%s %-${field_pkgname_total}s %s\n" |