No need to list this twice
This commit is contained in:
-11
@@ -329,16 +329,6 @@ command_requires_args() {
|
|||||||
[[ -n $required ]]
|
[[ -n $required ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
load_group_extra_commands() {
|
|
||||||
local group="$1"
|
|
||||||
|
|
||||||
case "$group" in
|
|
||||||
install)
|
|
||||||
load_command_by_binary omarchy-pkg-add
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
load_group_commands() {
|
load_group_commands() {
|
||||||
local group="$1"
|
local group="$1"
|
||||||
local file=""
|
local file=""
|
||||||
@@ -352,7 +342,6 @@ load_group_commands() {
|
|||||||
register_command "$file"
|
register_command "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
load_group_extra_commands "$group"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resolve_direct_route() {
|
resolve_direct_route() {
|
||||||
|
|||||||
+1
-3
@@ -1,10 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# omarchy:summary=Install Arch packages if they are missing
|
# omarchy:summary=Install Arch packages if they are missing
|
||||||
# omarchy:group=install
|
|
||||||
# omarchy:name=package
|
|
||||||
# omarchy:args=<packages...>
|
# omarchy:args=<packages...>
|
||||||
# omarchy:examples=omarchy install package jq ripgrep
|
# omarchy:examples=omarchy pkg add jq ripgrep
|
||||||
# omarchy:requires-sudo=true
|
# omarchy:requires-sudo=true
|
||||||
|
|
||||||
if omarchy-pkg-missing "$@"; then
|
if omarchy-pkg-missing "$@"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user