minor text changes

This commit is contained in:
EndeavourOS
2023-08-11 17:05:12 +03:00
parent 85d0c6240a
commit ca61fb80fe
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ DiskSpace() {
}
Main() {
local progname="$(/usr/bin/basename "$0")"
local progname="${0##*/}"
local helper="pacman"
local min_free_bytes=$((1000 * 1000 * 1000)) # default: 1 GB
@@ -124,7 +124,7 @@ Main() {
[ $nvidia = yes ] && subopts+=(--nvidia)
[ $keyring = yes ] && subopts+=(--keyrings)
echo2 "$helper update with additional features"
echo2 "$progname: package updater with additional features"
DiskSpace
+1
View File
@@ -45,6 +45,7 @@ SeparateParts() {
local pkg="$1"
local all=$(echo "$pkg" | sed -E 's/([a-zA-Z0-9@_+][a-zA-Z0-9@._+-]+)-([0-9:]*[^:/\-\ \t]+)-([0-9.]+)-([a-z0-9_]+)\.pkg\.tar\.([a-z0-9]+)$/\1 \2 \3 \4 \5/')
# name........................... epoch..pkgver...... pkgrel. arch...... compress.
all=($(echo $all))
local N=${all[0]}