mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-11-07 04:22:00 +08:00
fix: Show Arch repo update output
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bf87ba2f2b
commit
7e1d43b057
@@ -59,11 +59,11 @@ echo '╚═╝ ╚═╝╚═╝ ╚═════╝╚═╝ ╚
|
||||
|
||||
case $arch in
|
||||
x86_64|aarch64) ;;
|
||||
*) echo "Unsupported arch: $arch"; exit 1 ;;
|
||||
*) echo "Unsupported arch: $arch" >&2; exit 1 ;;
|
||||
esac
|
||||
|
||||
if [[ ! -f $tar_path ]]; then
|
||||
echo "$tar_path not found"
|
||||
echo "$tar_path not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -89,7 +89,7 @@ for pkg in $tmpDir/*.pkg.tar.*; do
|
||||
done
|
||||
|
||||
if [[ ${#newPackages[@]} == 0 ]]; then
|
||||
echo "No package in $tar_path"
|
||||
echo "No package in $tar_path" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user