mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 07:10:16 -07:00
puke: cleanup
This commit is contained in:
parent
1c3a9198af
commit
af6a61dbb1
3
puke
3
puke
@ -25,11 +25,10 @@ source_type() {
|
|||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
cd "$rep_dir/$1" || die "Package '$1' not in repository."
|
cd "$rep_dir/$1" || die "Package '$1' not in repository."
|
||||||
[ -f version ] || die "Version file not found."
|
|
||||||
[ -f sources ] || die "Sources file not found."
|
[ -f sources ] || die "Sources file not found."
|
||||||
[ -x build ] || die "Build file not found or not executable."
|
[ -x build ] || die "Build file not found or not executable."
|
||||||
|
|
||||||
read -r version release < version
|
read -r version release < version || die "Version file not found."
|
||||||
pkg=${name:=$1}\#$version-$release
|
pkg=${name:=$1}\#$version-$release
|
||||||
|
|
||||||
mkdir -p "$src_dir" "$mak_dir" "$pkg_dir/$dbs_dir" "$sys_dir" "$bin_dir" ||
|
mkdir -p "$src_dir" "$mak_dir" "$pkg_dir/$dbs_dir" "$sys_dir" "$bin_dir" ||
|
||||||
|
Loading…
Reference in New Issue
Block a user