Commit 47f6a68f authored by PoroCYon's avatar PoroCYon
Browse files

and in list

parent 53917b83
......@@ -24,8 +24,8 @@ main() {
;;
*)
while read -r PKG_AND_VER; do
local PKG=$(echo "$PKG_AND_VER" | grep -E -o "^[A-Za-z0-9_\-\.]")
local VER=$(echo "$PKG_AND_VER" | grep -E -o "[A-Za-z0-9_\-\.]$")
local PKG=$(echo "$PKG_AND_VER" | grep -E -o "^[A-Za-z0-9_\.\-]*")
local VER=$(echo "$PKG_AND_VER" | grep -E -o "[A-Za-z0-9_\.\-]*$")
local INST=" "
if exec_subcommand bin-db exists "$PKG"; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment