mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
minor cleanup
This commit is contained in:
parent
93b598d5fa
commit
d0f4358f84
7
kiss
7
kiss
@ -206,7 +206,8 @@ pkg_sources() {
|
||||
|
||||
while read -r src dest || [ "$src" ]; do
|
||||
# Remote git repository or comment.
|
||||
if [ -z "${src##\#*}" ] || [ -z "${src##git+*}" ]; then :
|
||||
if [ -z "${src##\#*}" ] || [ -z "${src##git+*}" ]; then
|
||||
:
|
||||
|
||||
# Remote source (cached).
|
||||
elif [ -f "${src##*/}" ]; then
|
||||
@ -513,8 +514,8 @@ pkg_manifest() (
|
||||
# contents.
|
||||
# sed: Remove the first character in each line (./dir -> /dir) and
|
||||
# remove all lines which only contain '.'.
|
||||
find . -type d -exec printf '%s/\n' {} + -o -print |
|
||||
sort -r | sed '/^\.\/$/d;ss.ss' > "${2:-$pkg_dir}/$1/$pkg_db/$1/manifest"
|
||||
find . -type d -exec printf '%s/\n' {} + -o -print | sort -r |
|
||||
sed '/^\.\/$/d;ss.ss' > "${2:-$pkg_dir}/$1/$pkg_db/$1/manifest"
|
||||
)
|
||||
|
||||
pkg_etcsums() (
|
||||
|
Loading…
Reference in New Issue
Block a user