mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-03 00:20:09 -07:00
puke: Error if no built tar yet
This commit is contained in:
parent
917758c20b
commit
16aea551ac
2
puke
2
puke
@ -148,6 +148,8 @@ pkg_tar() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
[ -f "$bin_dir/$pkg.tar.gz" ] || die "Package must be built first."
|
||||||
|
|
||||||
pkg_remove "$name"
|
pkg_remove "$name"
|
||||||
tar pxvf "$bin_dir/$pkg.tar.gz" -k -C "$sys_dir/" 2>/dev/null
|
tar pxvf "$bin_dir/$pkg.tar.gz" -k -C "$sys_dir/" 2>/dev/null
|
||||||
log "Installed $pkg"
|
log "Installed $pkg"
|
||||||
|
Loading…
Reference in New Issue
Block a user