summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oh-installfiles.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh
index 5598412..c12a8f5 100644
--- a/src/oh-installfiles.sh
+++ b/src/oh-installfiles.sh
@@ -57,5 +57,12 @@ while [ ${#} -gt 0 ]; do
shift
done
+# TODO: This should be part of some kind of warnings/lint framework/script and
+# allow the user to drop to a debug shell before cleanup.
+if [ "$(find dest -type f | wc -l)" -gt 0 ]; then
+ printf 'oh-installfiles: Warning: %s\n' \
+ 'Files remain in installation directory.' >&2
+fi
+
# Reset the IFS.
IFS="${OLDIFS}"