Less isn't installed if the packages are the ones failing
This commit is contained in:
1 parent
020a4659ec
commit
fc3d1a4af5
1 file changed
+5
-1
@@ -126,7 +126,11 @@ catch_errors() {
|
||||
break
|
||||
;;
|
||||
"View full log")
|
||||
less "$OMARCHY_INSTALL_LOG_FILE"
|
||||
if command -v less &>/dev/null; then
|
||||
less "$OMARCHY_INSTALL_LOG_FILE"
|
||||
else
|
||||
tail "$OMARCHY_INSTALL_LOG_FILE"
|
||||
fi
|
||||
;;
|
||||
"Upload log for support")
|
||||
omarchy-upload-install-log
|
||||
|
||||
Reference in new issue
Block a user