diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2022-12-11 16:16:16 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-05-19 22:27:13 +0200 |
commit | f834fc4700053cb9a83956c98835b0a158cc054c (patch) | |
tree | 31a3e646a262478079c3d03c94683a94d7672ad9 /src/pkgctl.in | |
parent | 8b5bcd01b47845e6459a0ceef2f0eaf898482382 (diff) | |
download | devtools-f834fc4700053cb9a83956c98835b0a158cc054c.tar.xz |
db: command for Pacman database modification like update, move etc
Diffstat (limited to 'src/pkgctl.in')
-rw-r--r-- | src/pkgctl.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pkgctl.in b/src/pkgctl.in index e024d1f..d9e1b4c 100644 --- a/src/pkgctl.in +++ b/src/pkgctl.in @@ -20,6 +20,7 @@ usage() { COMMANDS auth Authenticate with services like GitLab + db Pacman database modification for packge update, move etc diff Compare package files using different modes repo Manage Git packaging repositories and their configuration @@ -60,6 +61,14 @@ while (( $# )); do pkgctl_auth "$@" exit 0 ;; + db) + _DEVTOOLS_COMMAND+=" $1" + shift + # shellcheck source=src/lib/auth.sh + source "${_DEVTOOLS_LIBRARY_DIR}"/lib/db.sh + pkgctl_db "$@" + exit 0 + ;; diff) _DEVTOOLS_COMMAND+=" $1" shift |