fix: keep terminal open after moonarch-update completes
Update PKGBUILD version / update-pkgver (push) Successful in 3s
Update PKGBUILD version / update-pkgver (push) Successful in 3s
Add "press any key" prompt when running interactively (stdin is a TTY). Remove dead wrapper in defaults/bin/ that was overwritten by PKGBUILD.
This commit is contained in:
@@ -105,3 +105,9 @@ log ""
|
||||
log "============================================"
|
||||
log " Moonarch update complete!"
|
||||
log "============================================"
|
||||
|
||||
# Keep terminal open when launched from a GUI (e.g. Waybar on-click)
|
||||
if [[ -t 0 ]]; then
|
||||
echo
|
||||
read -n 1 -s -r -p "Press any key to close..."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user