From f98867293f5dac687d22ffea1b21442ca840e16b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 24 Feb 2014 21:15:35 -0500 Subject: src/oh-installfiles.sh: Use new output functions. --- (limited to 'src') diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh index 9848ca1..5083c1f 100644 --- a/src/oh-installfiles.sh +++ b/src/oh-installfiles.sh @@ -36,7 +36,7 @@ main() dir="${OPTARG}" ;; ?) - ob_error "$(ob_get_msg 'bad_opt')" + oh_error "$(ob_get_msg 'bad_opt')" exit 1 ;; esac @@ -45,7 +45,7 @@ main() for pkg in ${OPK_PACKAGES}; do [ -r "../${pkg}.pkg/files" ] || continue - ob_info "$(ob_get_msg 'installing_files')" "${pkg}" + oh_info "$(ob_get_msg 'installing_files')" "${pkg}" mkdir -p "${pkg}.data" chmod 755 "${pkg}.data" @@ -63,7 +63,7 @@ main() # TODO: See above. Count links. if [ "$(find "${dir}" -type f | wc -l)" -gt 0 ]; then - ob_warn "$(ob_get_msg 'files_not_installed')" + oh_warn "$(ob_get_msg 'files_not_installed')" fi } -- cgit v0.9.1