diff options
author | John <john@ankarstrom.se> | 2019-10-23 09:30:58 +0200 |
---|---|---|
committer | John <john@ankarstrom.se> | 2019-10-23 09:30:58 +0200 |
commit | c66633ff31d50caf89a24055063c85c71af17605 (patch) | |
tree | 7fe8799468190acde1865afd975f56f5b19725b1 | |
parent | 2d9446bbe431fb173e812472f438e0751fbb87b1 (diff) | |
download | dwim-c66633ff31d50caf89a24055063c85c71af17605.tar.gz |
xbps package support
-rwxr-xr-x | dwim | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -64,6 +64,11 @@ for ($phrase) { fail "header file not found"; } + if (/^([^\s]+-[\d.]+_\d+)$/) { + handle "xbps package"; + run @LAUNCHER, "in-shell", "sudo", "xbps-install", "-S", $1; + } + if (/^([^\s]+)$/) { handle "maildir / directory / file"; my $p = path $1; |