mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
puke: remove pointless operator
This commit is contained in:
parent
e47bd72a5b
commit
364a963b3d
@ -40,7 +40,6 @@ done < depends
|
||||
* [Getting started with `puke`](#getting-started-with-puke)
|
||||
* [`puke build pkg`](#puke-build-pkg)
|
||||
* [`puke checksum pkg`](#puke-checksum-pkg)
|
||||
* [`puke depends pkg`](#puke-depends-pkg)
|
||||
* [`puke install pkg`](#puke-install-pkg)
|
||||
* [`puke remove pkg`](#puke-remove-pkg)
|
||||
* [`puke list` or `puke list pkg`](#puke-list-or-puke-list-pkg)
|
||||
@ -65,7 +64,6 @@ Puke has 6 different "operators".
|
||||
|
||||
- `build`: Build a package.
|
||||
- `checksum`: Generate checksums for a package.
|
||||
- `depends`: List a package's dependencies .
|
||||
- `install`: Install a built package.
|
||||
- `remove`: Remove an installed package.
|
||||
- `list`: List installed packages.
|
||||
@ -79,10 +77,6 @@ Puke's `build` operator handles a package from its source code to the installabl
|
||||
|
||||
Puke's `checksum` operator generates the initial checksums for a package from every source in the `sources` file.
|
||||
|
||||
### `puke depends pkg`
|
||||
|
||||
Puke's `depends` operator does not recursively check dependencies. It only lists the direct dependencies for the selected package. In the future, more complex dependency solving may be added.
|
||||
|
||||
### `puke install pkg`
|
||||
|
||||
Puke's `install` operator takes the built `.tar.gz` file and installs it in the system. This is as simple as removing the old version of the package (*if it exists*) and unpacking the archive at `/`.
|
||||
|
4
puke
4
puke
@ -178,16 +178,14 @@ args() {
|
||||
pkg_checksum
|
||||
log "Generated checksums." ;;
|
||||
|
||||
d*) [ -f depends ] && cat depends ;;
|
||||
i*) pkg_install ;;
|
||||
l*) pkg_list "$2" ;;
|
||||
r*) pkg_remove || die "Package '$name' not installed" ;;
|
||||
u*) pkg_updates ;;
|
||||
|
||||
*) log "$0 [b|c|d|i|l|r|u] [pkg]" \
|
||||
*) log "$0 [b|c|i|l|r|u] [pkg]" \
|
||||
"build: Build a package." \
|
||||
"checksum: Generate checksums." \
|
||||
"depends: See package dependencies." \
|
||||
"install: Install a package." \
|
||||
"list: List packages." \
|
||||
"remove: Remove a package." \
|
||||
|
Loading…
Reference in New Issue
Block a user