kiss: clean up

This commit is contained in:
Dylan Araps 2019-09-11 11:45:37 +03:00
parent 1ac92f1624
commit 6458f56c70
1 changed files with 2 additions and 2 deletions

4
kiss
View File

@ -472,7 +472,7 @@ pkg_build() {
# Install only dependencies of passed packages. # Install only dependencies of passed packages.
# Skip this check if this is a package update. # Skip this check if this is a package update.
case $explicit_packages in case $explicit_packages in
*" $pkg "*) [ "$pkg_update" ] || continue ;; *" $pkg "*) [ "$pkg_update" ] || continue
esac esac
log "[$pkg] Needed as a dependency or has an update, installing" log "[$pkg] Needed as a dependency or has an update, installing"
@ -694,7 +694,7 @@ pkg_install() {
while read -r file; do while read -r file; do
# Skip deleting some leftover files. # Skip deleting some leftover files.
case $file in case $file in
/etc/*|*bin/rm|*bin/busybox|*bin/rsync) continue ;; /etc/*|*bin/rm|*bin/busybox|*bin/rsync) continue
esac esac
file=$KISS_ROOT/$file file=$KISS_ROOT/$file