summaryrefslogtreecommitdiff
path: root/hscript/meta.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.cc')
-rw-r--r--hscript/meta.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/meta.cc b/hscript/meta.cc
index 8079b1a..e2d6d28 100644
--- a/hscript/meta.cc
+++ b/hscript/meta.cc
@@ -220,7 +220,7 @@ bool Arch::execute() const {
}
-static std::regex valid_pkg("[0-9A-Za-z+_.-]*((>?<|[<>]?=|[~>])[0-9A-Za-z-_.]+)?");
+static std::regex valid_pkg("[!]?[0-9A-Za-z+_.-]*((>?<|[<>]?=|[~>])[0-9A-Za-z-_.]+)?");
Key *PkgInstall::parseFromData(const std::string &data,