summaryrefslogtreecommitdiffstats
path: root/src/oh-installfiles.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-23 21:11:21 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-23 21:11:21 (EDT)
commit53f25051998e6590e9f39bf9c8f9240dc380e312 (patch)
treed34d6be00148de0e9c7bb829b132956def82fce4 /src/oh-installfiles.sh
parent3c472477b492078c2af03f521a75e633a4bc823b (diff)
Warn if some files aren't installed into packages.
Diffstat (limited to 'src/oh-installfiles.sh')
-rw-r--r--src/oh-installfiles.sh5
1 files changed, 5 insertions, 0 deletions
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 "${@}"