mirror of
https://github.com/endeavouros-team/eos-bash-shared.git
synced 2026-06-13 01:34:36 +00:00
minor text changes
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user