summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/openslx/taskmanager/tasks/AptGetUpgradable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/taskmanager/tasks/AptGetUpgradable.java b/src/main/java/org/openslx/taskmanager/tasks/AptGetUpgradable.java
index 0c0bb65..19aad33 100644
--- a/src/main/java/org/openslx/taskmanager/tasks/AptGetUpgradable.java
+++ b/src/main/java/org/openslx/taskmanager/tasks/AptGetUpgradable.java
@@ -13,7 +13,7 @@ public class AptGetUpgradable extends SystemCommandTask
{
// Inst vivaldi-snapshot [6.4.3160.29-1] (6.5.3222.3-1 Official Vivaldi package repository:stable [amd64])
- private static final Pattern REGEX = Pattern.compile( "^Inst (\\S+) \\[(\\S+)\\] \\((\\S+) ([^\\[\\)]+)" );
+ private static final Pattern REGEX = Pattern.compile( "^Inst (\\S+)(?: \\[(\\S+)\\])? \\((\\S+) ([^\\[\\)]+)" );
private final Output status = new Output();