summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--locale/en_US/opkhelper.sh1
-rw-r--r--src/oh-installfiles.sh5
2 files changed, 6 insertions, 0 deletions
diff --git a/locale/en_US/opkhelper.sh b/locale/en_US/opkhelper.sh
index 05b3c2c..ca7df0a 100644
--- a/locale/en_US/opkhelper.sh
+++ b/locale/en_US/opkhelper.sh
@@ -19,6 +19,7 @@
msg_opkhelper_bad_opt='Invalid option'
msg_opkhelper_installing_files='Installing files for package "%s"...'
+msg_opkhelper_files_not_installed='Some files have not been installed into packages'
msg_opkhelper_strip_so='Stripping shared library "%s"...'
msg_opkhelper_strip_exe='Stripping executable object "%s"...'
msg_opkhelper_strip_a='Stripping static library "%s"...'
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 "${@}"