mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-24 08:13:36 +05:00
Compare commits
3 Commits
209cf59c82
...
5d4c124b99
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d4c124b99 | ||
|
|
a374ac8fac | ||
|
|
2cafa5848e |
@@ -37,7 +37,7 @@ function install_fluidd() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
### checking dependencies
|
### checking dependencies
|
||||||
local dep=(wget nginx)
|
local dep=(wget nginx unzip)
|
||||||
dependency_check "${dep[@]}"
|
dependency_check "${dep[@]}"
|
||||||
### detect conflicting Haproxy and Apache2 installations
|
### detect conflicting Haproxy and Apache2 installations
|
||||||
detect_conflicting_packages
|
detect_conflicting_packages
|
||||||
|
|||||||
@@ -253,8 +253,12 @@ function clone_klipper() {
|
|||||||
local repo=${1} branch=${2}
|
local repo=${1} branch=${2}
|
||||||
|
|
||||||
[[ -z ${repo} ]] && repo="${KLIPPER_REPO}"
|
[[ -z ${repo} ]] && repo="${KLIPPER_REPO}"
|
||||||
repo=$(echo "${repo}" | sed -r "s/^(http|https):\/\/github\.com\///i; s/\.git$//")
|
if [[ "${repo}" =~ ^(http|https):\/\/github.com || ! "$repo" =~ ^(http|https):\/\/ && ! "$repo" =~ ^git@ ]]; then
|
||||||
repo="https://github.com/${repo}"
|
repo=$(echo "${repo}" | sed -r "s/^(http|https):\/\/github\.com\///i; s/\.git$//")
|
||||||
|
repo="https://github.com/${repo}"
|
||||||
|
else
|
||||||
|
repo=${repo}
|
||||||
|
fi
|
||||||
|
|
||||||
[[ -z ${branch} ]] && branch="master"
|
[[ -z ${branch} ]] && branch="master"
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ function install_mainsail() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
### checking dependencies
|
### checking dependencies
|
||||||
local dep=(wget nginx)
|
local dep=(wget nginx unzip)
|
||||||
dependency_check "${dep[@]}"
|
dependency_check "${dep[@]}"
|
||||||
### detect conflicting Haproxy and Apache2 installations
|
### detect conflicting Haproxy and Apache2 installations
|
||||||
detect_conflicting_packages
|
detect_conflicting_packages
|
||||||
|
|||||||
Reference in New Issue
Block a user