cosmetic: terminal output

This commit is contained in:
root
2026-04-14 15:58:04 +04:00
parent d17ec7e084
commit 179470709f
2 changed files with 6 additions and 3 deletions
+3 -3
View File
@@ -59,7 +59,7 @@ case "$CMD" in
echo "Installing packages:"
for pkg in $(cat "$LOCAL_LST"); do
if apk info -e "$pkg" >/dev/null 2>&1; then
echo " [s] $pkg... is already installed"
echo " [=] $pkg... is already installed"
else
fix_dns
printf " [+] $pkg... "
@@ -73,7 +73,7 @@ case "$CMD" in
[ -f /etc/resolv.conf-backup ] && mv /etc/resolv.conf-backup /etc/resolv.conf
echo "Summary:"
echo " Restore complete"
echo " Reboot is recommended"
echo " [+] Restoring packages completed"
echo " [!] Reboot required"
;;
esac
+3
View File
@@ -165,6 +165,9 @@ case "$1" in
if [ -n "$SELECTED_PATH" ]; then
[ "$s_choice" -eq 2 ] && { cp "$SELECTED_PATH" /tmp/restore.tar.gz; SELECTED_PATH="/tmp/restore.tar.gz"; umount "$S_MOUNT"; }
sysupgrade -r "$SELECTED_PATH"
echo "Summary:"
echo " [+] Restoring configs completed"
echo " [!] Reboot required"
fi
;;
2)