summaryrefslogtreecommitdiffstats
path: root/src/oh-autoinstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/oh-autoinstall.sh')
-rw-r--r--src/oh-autoinstall.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/oh-autoinstall.sh b/src/oh-autoinstall.sh
index b50174e..6d494bc 100644
--- a/src/oh-autoinstall.sh
+++ b/src/oh-autoinstall.sh
@@ -48,7 +48,9 @@ main()
oh_buildsystems_init
- oh_buildsystem_do 'install' "${@}"
+ if sys="$(oh_buildsystem_find 'install')"; then
+ oh_buildsystem_do 'install' "${sys}" "${@}"
+ fi
}
main "${@}"