puke: fix bug

This commit is contained in:
Dylan Araps 2019-05-14 22:29:56 +03:00
parent 39c28ffebc
commit 08eb5ec81d

3
puke
View File

@ -128,8 +128,7 @@ pkg_install() {
pkg_remove "$name"
tar pxvf "$bin_dir/$pkg.tar.gz" -k -C "$sys_dir/" 2>/dev/null
[ -f "$sys_dir/$dbs_dir/$name/post-install" ] &&
"$sys_dir/$dbs_dir/$name/post-install"
"$sys_dir/$dbs_dir/$name/post-install" 2>/dev/null
log "Installed $pkg"
}