contrib: Make doc strings match KISS'

This commit is contained in:
Dylan Araps 2020-05-01 09:07:20 +03:00
parent 99025df126
commit ad280931e5
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
19 changed files with 19 additions and 19 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Generate sources for rust packages.
# Generate sources for rust packages
[ "$1" ] || {
printf 'usage: kiss-cargo-urlgen [crate-ver] [crate-ver]\n'

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# Create/destroy temporary chroots.
# Create/destroy temporary chroots
log() {
printf '\033[31;1m->\033[m %s.\n' "$@"

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# Enter a kiss chroot.
# Enter a kiss chroot
log() {
printf '\033[32m->\033[m %s.\n' "$*"

View File

@ -1,5 +1,5 @@
#!/bin/sh -ef
# Display a package's dependencies.
# Display a package's dependencies
# Ignore shellcheck as we want the warning's behavior.
# shellcheck disable=2015

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# Find missing dependencies by parsing 'ldd'.
# Find missing dependencies by parsing ldd
# Ignore shellcheck as we want the warning's behavior.
# shellcheck disable=2015

View File

@ -1,5 +1,5 @@
#!/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.
# shellcheck disable=2015

View File

@ -1,5 +1,5 @@
#!/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.
# shellcheck disable=2015

View File

@ -1,5 +1,5 @@
#!/bin/sh -ef
# Link a repository file to another repository.
# Link a repository file to another repository
[ "$1" ] || {
printf 'usage: kiss-link file\n'

View File

@ -1,5 +1,5 @@
#!/bin/sh -ef
# Find the maintainer of a package.
# Find the maintainer of a package
[ "$1" ] || {
printf 'usage: kiss-maintainer [pkg]\n'

View File

@ -1,5 +1,5 @@
#!/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.
# shellcheck disable=2015

View File

@ -1,5 +1,5 @@
#!/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.
# shellcheck disable=2015

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Create a boilerplate package.
# Create a boilerplate package
die() {
printf '%s\n' "$*"

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# List orphaned packages.
# List orphaned packages
cd "$KISS_ROOT/var/db/kiss/installed/"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Check installed packages for updates.
# Check installed packages for updates
old_IFS=$IFS

View File

@ -1,5 +1,5 @@
#!/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
# follow symlinks.

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Display a package's original dependencies.
# Display a package's original dependencies
# Ignore shellcheck as we want the warning's behavior.
# shellcheck disable=2015

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# Remove all packages except for the base.
# Remove all packages except for the base
set --

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# Display packages which depend on package.
# Display packages which depend on package
# Ignore shellcheck as we want the warning's behavior.
# shellcheck disable=2015

View File

@ -1,5 +1,5 @@
#!/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.
# shellcheck disable=2015