diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-28 13:48:23 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-28 13:48:23 +0000 |
commit | e5ed56264fb8933dc384fff10efe64a411f16d92 (patch) | |
tree | 20750920dcdc52ea5f04cb20872b621702c2ed18 | |
parent | e5a02ac6b33213b3b80d9c99163cd5860ba6dc6a (diff) | |
download | cpt-e5ed56264fb8933dc384fff10efe64a411f16d92.tar.gz |
kiss: Fix install bug with busybox
FossilOrigin-Name: dc1ca79db4ac3259b1552f56853d95d31bb199a7f464dca7a8527da67b418351
-rwxr-xr-x | kiss | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -187,17 +187,17 @@ pkg_install() { cd "$tar_dir" || die "Aborting due to tar error." # Optimization: Only find the deepest directories. - find . -type d -links -3 -prune | while read -r dir; do - mkdir -p "$sys_dir/${dir#./}" + "$cac_dir/find" . -type d -links -3 -prune | while read -r dir; do + "$cac_dir/mkdir" -p "$sys_dir/${dir#./}" done - find ./ -mindepth 1 -not -type d | while read -r file; do + "$cac_dir/find" ./ -mindepth 1 -not -type d | while read -r file; do rpath=${file#.} [ -z "${rpath##/etc/*}" ] && [ -f "$sys_dir${rpath%/*}/${file##*/}" ] && return - mv "$file" "$sys_dir${rpath%/*}" + "$cac_dir/mv" "$file" "$sys_dir${rpath%/*}" done "$sys_db/$name/post-install" 2>/dev/null @@ -284,7 +284,7 @@ args() { l*) pkg_list "$2" ;; r*) pkg_remove "${2-null}" || die "Package '${2-null}' not installed." ;; u*) pkg_updates ;; - v*) log "$kiss 0.1.9" ;; + v*) log "$kiss 0.1.10" ;; *) log "$kiss [b|c|i|l|r|u] [pkg]" \ "build: Build a package." \ |