summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/oh-applypatches.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/oh-applypatches.sh b/src/oh-applypatches.sh
index 62f9f87..637c1d0 100644
--- a/src/oh-applypatches.sh
+++ b/src/oh-applypatches.sh
@@ -37,6 +37,7 @@ main()
apply_patches()
{
applied=false
+
if [ -d ../patches ]; then
# Iterate over patches ordered alphabetically by name.
for patch in $(ls -1 ../patches | sort); do
@@ -46,6 +47,7 @@ apply_patches()
applied=true
done
fi
+
${applied} || oh_info "${oh_str_no_patches}"
}