diff --git a/contrib/kiss-cargo-urlgen b/contrib/kiss-cargo-urlgen index 0ca8a15..0391d16 100755 --- a/contrib/kiss-cargo-urlgen +++ b/contrib/kiss-cargo-urlgen @@ -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' diff --git a/contrib/kiss-chbuild b/contrib/kiss-chbuild index 1f5aff5..c18c1a0 100755 --- a/contrib/kiss-chbuild +++ b/contrib/kiss-chbuild @@ -1,5 +1,5 @@ #!/bin/sh -e -# Create/destroy temporary chroots. +# Create/destroy temporary chroots log() { printf '\033[31;1m->\033[m %s.\n' "$@" diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot index cca0e38..526685e 100755 --- a/contrib/kiss-chroot +++ b/contrib/kiss-chroot @@ -1,5 +1,5 @@ #!/bin/sh -e -# Enter a kiss chroot. +# Enter a kiss chroot log() { printf '\033[32m->\033[m %s.\n' "$*" diff --git a/contrib/kiss-depends b/contrib/kiss-depends index e989844..1ea4b54 100755 --- a/contrib/kiss-depends +++ b/contrib/kiss-depends @@ -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 diff --git a/contrib/kiss-depends-finder b/contrib/kiss-depends-finder index c8b6ccf..320fece 100755 --- a/contrib/kiss-depends-finder +++ b/contrib/kiss-depends-finder @@ -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 diff --git a/contrib/kiss-export b/contrib/kiss-export index 774e5c6..5cf71de 100755 --- a/contrib/kiss-export +++ b/contrib/kiss-export @@ -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 diff --git a/contrib/kiss-fork b/contrib/kiss-fork index b578bb9..db988bf 100755 --- a/contrib/kiss-fork +++ b/contrib/kiss-fork @@ -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 diff --git a/contrib/kiss-link b/contrib/kiss-link index 3cf5bc8..d0cdf39 100755 --- a/contrib/kiss-link +++ b/contrib/kiss-link @@ -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' diff --git a/contrib/kiss-maintainer b/contrib/kiss-maintainer index 478d046..3e2c3d2 100755 --- a/contrib/kiss-maintainer +++ b/contrib/kiss-maintainer @@ -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' diff --git a/contrib/kiss-manifest b/contrib/kiss-manifest index a7dab14..272ce54 100755 --- a/contrib/kiss-manifest +++ b/contrib/kiss-manifest @@ -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 diff --git a/contrib/kiss-manifest-tree b/contrib/kiss-manifest-tree index 54a3c62..4994835 100755 --- a/contrib/kiss-manifest-tree +++ b/contrib/kiss-manifest-tree @@ -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 diff --git a/contrib/kiss-new b/contrib/kiss-new index 9eeb8f3..2dfcda4 100755 --- a/contrib/kiss-new +++ b/contrib/kiss-new @@ -1,5 +1,5 @@ #!/bin/sh -# Create a boilerplate package. +# Create a boilerplate package die() { printf '%s\n' "$*" diff --git a/contrib/kiss-orphans b/contrib/kiss-orphans index 81f44fc..602110e 100755 --- a/contrib/kiss-orphans +++ b/contrib/kiss-orphans @@ -1,5 +1,5 @@ #!/bin/sh -e -# List orphaned packages. +# List orphaned packages cd "$KISS_ROOT/var/db/kiss/installed/" diff --git a/contrib/kiss-outdated b/contrib/kiss-outdated index f95a1d4..d95f3c9 100755 --- a/contrib/kiss-outdated +++ b/contrib/kiss-outdated @@ -1,5 +1,5 @@ #!/bin/sh -# Check installed packages for updates. +# Check installed packages for updates old_IFS=$IFS diff --git a/contrib/kiss-owns b/contrib/kiss-owns index 4746ba3..38334ed 100755 --- a/contrib/kiss-owns +++ b/contrib/kiss-owns @@ -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. diff --git a/contrib/kiss-repodepends b/contrib/kiss-repodepends index 49617fb..967ac87 100755 --- a/contrib/kiss-repodepends +++ b/contrib/kiss-repodepends @@ -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 diff --git a/contrib/kiss-reset b/contrib/kiss-reset index 642cc46..730a8ed 100755 --- a/contrib/kiss-reset +++ b/contrib/kiss-reset @@ -1,5 +1,5 @@ #!/bin/sh -e -# Remove all packages except for the base. +# Remove all packages except for the base set -- diff --git a/contrib/kiss-revdepends b/contrib/kiss-revdepends index e8a19d7..bc4d5e3 100755 --- a/contrib/kiss-revdepends +++ b/contrib/kiss-revdepends @@ -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 diff --git a/contrib/kiss-size b/contrib/kiss-size index d569a8a..bfa5df5 100755 --- a/contrib/kiss-size +++ b/contrib/kiss-size @@ -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