mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
puke: simplify manifest.
This commit is contained in:
parent
c94b05c717
commit
f692587946
13
puke
13
puke
@ -114,15 +114,10 @@ pkg_build() {
|
||||
log "Sucessfully built $pkg."
|
||||
}
|
||||
|
||||
pkg_manifest() (
|
||||
cd "$pkg_dir"
|
||||
|
||||
_() { find . -mindepth 1 "$@" | sed 's/^\.//'; }
|
||||
_ -not -type d > "$OLDPWD/manifest"
|
||||
_ -type d | sort -r >> "$OLDPWD/manifest"
|
||||
|
||||
cp "$OLDPWD/manifest" "$pkg_dir/$dbs_dir/$name"
|
||||
)
|
||||
pkg_manifest() {
|
||||
find "$pkg_dir" -mindepth 1 | sed "s|^$pkg_dir||" | sort -r > manifest
|
||||
cp manifest "$pkg_dir/$dbs_dir/$name"
|
||||
}
|
||||
|
||||
pkg_tar() {
|
||||
cd "$bin_dir"
|
||||
|
@ -1,17 +1,17 @@
|
||||
/usr/bin/shutdown
|
||||
/usr/bin/hummingbird
|
||||
/usr/bin/reboot
|
||||
/var/db/puke/hummingbird/version
|
||||
/var/db/puke/hummingbird/sources
|
||||
/var/db/puke/hummingbird/manifest
|
||||
/var/db/puke/hummingbird/checksums
|
||||
/var/db/puke/hummingbird/build
|
||||
/var/db/puke/hummingbird/version
|
||||
/etc/rc.shutdown
|
||||
/etc/rc.init
|
||||
/var/db/puke/hummingbird
|
||||
/var/db/puke
|
||||
/var/db
|
||||
/var
|
||||
/usr/bin/shutdown
|
||||
/usr/bin/reboot
|
||||
/usr/bin/hummingbird
|
||||
/usr/bin
|
||||
/usr
|
||||
/etc/rc.shutdown
|
||||
/etc/rc.init
|
||||
/etc
|
||||
|
Loading…
Reference in New Issue
Block a user