forked from kiss-community/kiss
contrib: Make doc strings match KISS'
This commit is contained in:
parent
99025df126
commit
ad280931e5
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Generate sources for rust packages.
|
# Generate sources for rust packages
|
||||||
|
|
||||||
[ "$1" ] || {
|
[ "$1" ] || {
|
||||||
printf 'usage: kiss-cargo-urlgen [crate-ver] [crate-ver]\n'
|
printf 'usage: kiss-cargo-urlgen [crate-ver] [crate-ver]\n'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Create/destroy temporary chroots.
|
# Create/destroy temporary chroots
|
||||||
|
|
||||||
log() {
|
log() {
|
||||||
printf '\033[31;1m->\033[m %s.\n' "$@"
|
printf '\033[31;1m->\033[m %s.\n' "$@"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Enter a kiss chroot.
|
# Enter a kiss chroot
|
||||||
|
|
||||||
log() {
|
log() {
|
||||||
printf '\033[32m->\033[m %s.\n' "$*"
|
printf '\033[32m->\033[m %s.\n' "$*"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
# Display a package's dependencies.
|
# Display a package's dependencies
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Find missing dependencies by parsing 'ldd'.
|
# Find missing dependencies by parsing ldd
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
# Turn an installed package into a KISS tarball.
|
# Turn an installed package into a KISS tarball
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
# Copy a package's repository files into the current directory.
|
# Copy a package's repository files into the current directory
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
# Link a repository file to another repository.
|
# Link a repository file to another repository
|
||||||
|
|
||||||
[ "$1" ] || {
|
[ "$1" ] || {
|
||||||
printf 'usage: kiss-link file\n'
|
printf 'usage: kiss-link file\n'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
# Find the maintainer of a package.
|
# Find the maintainer of a package
|
||||||
|
|
||||||
[ "$1" ] || {
|
[ "$1" ] || {
|
||||||
printf 'usage: kiss-maintainer [pkg]\n'
|
printf 'usage: kiss-maintainer [pkg]\n'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
# Display all files owned by a package.
|
# Display all files owned by a package
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
# Display all files owned by a package in a tree.
|
# Display all files owned by a package in a tree
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Create a boilerplate package.
|
# Create a boilerplate package
|
||||||
|
|
||||||
die() {
|
die() {
|
||||||
printf '%s\n' "$*"
|
printf '%s\n' "$*"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# List orphaned packages.
|
# List orphaned packages
|
||||||
|
|
||||||
cd "$KISS_ROOT/var/db/kiss/installed/"
|
cd "$KISS_ROOT/var/db/kiss/installed/"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Check installed packages for updates.
|
# Check installed packages for updates
|
||||||
|
|
||||||
old_IFS=$IFS
|
old_IFS=$IFS
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Check which package owns a file.
|
# Check which package owns a file
|
||||||
|
|
||||||
# Strip 'KISS_ROOT' from the file path if passed and
|
# Strip 'KISS_ROOT' from the file path if passed and
|
||||||
# follow symlinks.
|
# follow symlinks.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Display a package's original dependencies.
|
# Display a package's original dependencies
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Remove all packages except for the base.
|
# Remove all packages except for the base
|
||||||
|
|
||||||
set --
|
set --
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Display packages which depend on package.
|
# Display packages which depend on package
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
# Show the size on disk for a package.
|
# Show the size on disk for a package
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
|
Loading…
Reference in New Issue
Block a user