From 53f25051998e6590e9f39bf9c8f9240dc380e312 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 23 Oct 2012 21:11:21 -0400 Subject: Warn if some files aren't installed into packages. --- (limited to 'src') diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh index 6288e6a..73f0c11 100644 --- a/src/oh-installfiles.sh +++ b/src/oh-installfiles.sh @@ -65,6 +65,11 @@ main() done done <"../${pkg}.pkg/files" done + + # TODO: See above. Count links. + if [ "$(find "${dir}" -type f | wc -l)" -gt 0 ]; then + ob_warn "$(ob_get_msg 'files_not_installed')" + fi } main "${@}" -- cgit v0.9.1