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