-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall
More file actions
executable file
·30 lines (24 loc) · 776 Bytes
/
install
File metadata and controls
executable file
·30 lines (24 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env sh
# Disable source following.
# shellcheck disable=SC1090,SC1091
. ./php-dev-helper_loader
### Install modules loader
. "${INCLUDERS_DIR}/include_install.sh"
func_print_header "PHP Dev Helper Installer"
### Installing suite
if [ "${COMMON_EXECUTE:-${CR_TRUE}}" -eq "${CR_TRUE}" ]; then
console_warning "Under development - work in progress!"
install_check_installed_tools
install_get_destination
if core_ask_question "Install PHP Dev Helper to '${SUITE_DIR}'?"; then
install_copy_files_to_destination
install_rename_scripts
install_cleanup
export FLAG_DONE="${CR_TRUE}"
else
export FLAG_CANCELED="${CR_TRUE}"
fi
else
console_debug "No execution selected"
fi
func_print_footer