forked from kiss-community/kiss
kiss: Fix install issues
This commit is contained in:
parent
b23afcc3b4
commit
164afb3b48
13
kiss
13
kiss
@ -497,8 +497,8 @@ pkg_build() {
|
|||||||
[ -f "$bin_dir/$pkg#$version-$release.tar.gz" ] && {
|
[ -f "$bin_dir/$pkg#$version-$release.tar.gz" ] && {
|
||||||
log "$pkg" "Found pre-built binary, installing"
|
log "$pkg" "Found pre-built binary, installing"
|
||||||
|
|
||||||
KISS_FORCE=1 \
|
(KISS_FORCE=1 \
|
||||||
pkg_install "$bin_dir/$pkg#$version-$release.tar.gz"
|
pkg_install "$bin_dir/$pkg#$version-$release.tar.gz")
|
||||||
|
|
||||||
# Remove the now installed package from the build
|
# Remove the now installed package from the build
|
||||||
# list. No better way than using 'sed' in POSIX 'sh'.
|
# list. No better way than using 'sed' in POSIX 'sh'.
|
||||||
@ -586,8 +586,8 @@ pkg_build() {
|
|||||||
|
|
||||||
log "$pkg" "Needed as a dependency or has an update, installing"
|
log "$pkg" "Needed as a dependency or has an update, installing"
|
||||||
|
|
||||||
KISS_FORCE=1 \
|
(KISS_FORCE=1 \
|
||||||
pkg_install "$bin_dir/$pkg#$version-$release.tar.gz"
|
pkg_install "$bin_dir/$pkg#$version-$release.tar.gz")
|
||||||
done
|
done
|
||||||
|
|
||||||
# End here as this was a system update and all packages have been installed.
|
# End here as this was a system update and all packages have been installed.
|
||||||
@ -1129,6 +1129,11 @@ args() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
# Ensure that debug mode is never enabled to
|
||||||
|
# prevent internal package manager information
|
||||||
|
# from leaking to stdout.
|
||||||
|
set +x
|
||||||
|
|
||||||
# Set the location to the repository and package database.
|
# Set the location to the repository and package database.
|
||||||
pkg_db=var/db/kiss/installed
|
pkg_db=var/db/kiss/installed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user