forked from kiss-community/repo
puke: Fix tarball errors
This commit is contained in:
parent
eb9c8d41cb
commit
917758c20b
5
puke
5
puke
@ -149,10 +149,7 @@ pkg_tar() {
|
|||||||
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
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/" ||
|
|
||||||
die "Failed to install $pkg"
|
|
||||||
|
|
||||||
log "Installed $pkg"
|
log "Installed $pkg"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user