kiss: Don't store manifests in repositories.

This commit is contained in:
Dylan Araps 2019-06-27 23:40:59 +03:00
parent 2e630862af
commit 69e31b82aa

4
kiss
View File

@ -141,7 +141,7 @@ pkg_manifest() {
# Store the file and directory list of the package. # Store the file and directory list of the package.
# Directories have a trailing '/' and the list is sorted in reverse. # Directories have a trailing '/' and the list is sorted in reverse.
(cd "$pkg_dir" && find ./* -type d -exec printf '%s/\n' {} + -or -print) | (cd "$pkg_dir" && find ./* -type d -exec printf '%s/\n' {} + -or -print) |
sort -r | sed -e ss.ss | tee manifest > "$pkg_db/$name/manifest" sort -r | sed -e ss.ss > "$pkg_db/$name/manifest"
} }
pkg_tar() { pkg_tar() {
@ -284,7 +284,7 @@ args() {
l*) pkg_list "$2" ;; l*) pkg_list "$2" ;;
r*) pkg_remove "${2-null}" || die "Package '${2-null}' not installed." ;; r*) pkg_remove "${2-null}" || die "Package '${2-null}' not installed." ;;
u*) pkg_updates ;; u*) pkg_updates ;;
v*) log "$kiss 0.1.8" ;; v*) log "$kiss 0.1.9" ;;
*) log "$kiss [b|c|i|l|r|u] [pkg]" \ *) log "$kiss [b|c|i|l|r|u] [pkg]" \
"build: Build a package." \ "build: Build a package." \