Wild experimentations to see what circle does...
This commit is contained in:
parent
5367761311
commit
31132aa4ec
|
@ -63,11 +63,11 @@ webInterfaceDir="${webInterfaceDir}"
|
||||||
#git clone --branch "${CORE_VERSION}" --depth 1 "${piholeGitUrl}" "${PI_HOLE_LOCAL_REPO}"
|
#git clone --branch "${CORE_VERSION}" --depth 1 "${piholeGitUrl}" "${PI_HOLE_LOCAL_REPO}"
|
||||||
#git clone --branch "${WEB_VERSION}" --depth 1 "${webInterfaceGitUrl}" "${webInterfaceDir}"
|
#git clone --branch "${WEB_VERSION}" --depth 1 "${webInterfaceGitUrl}" "${webInterfaceDir}"
|
||||||
|
|
||||||
tmpLog="/tmp/pihole-install.log"
|
# tmpLog="/tmp/pihole-install.log"
|
||||||
installLogLoc="${installLogLoc}"
|
# installLogLoc="${installLogLoc}"
|
||||||
FTLdetect 2>&1 | tee "${tmpLog}"
|
# FTLdetect 2>&1 | tee "${tmpLog}"
|
||||||
installPihole 2>&1 | tee "${tmpLog}"
|
# installPihole 2>&1 | tee "${tmpLog}"
|
||||||
mv "${tmpLog}" /
|
# mv "${tmpLog}" /
|
||||||
|
|
||||||
fetch_release_metadata() {
|
fetch_release_metadata() {
|
||||||
local directory="$1"
|
local directory="$1"
|
||||||
|
@ -84,7 +84,7 @@ fetch_release_metadata() {
|
||||||
if [[ $CHECKOUT_BRANCHES == true ]] ; then
|
if [[ $CHECKOUT_BRANCHES == true ]] ; then
|
||||||
ln -s /bin/true /usr/local/bin/service
|
ln -s /bin/true /usr/local/bin/service
|
||||||
ln -s /bin/true /usr/local/bin/update-rc.d
|
ln -s /bin/true /usr/local/bin/update-rc.d
|
||||||
echo "${CORE_VERSION}" | sudo tee /etc/pihole/ftlbranch
|
echo "${CORE_VERSION}" | sudo tee /etc/pihole/ftlbranch
|
||||||
echo y | bash -x pihole checkout core ${CORE_VERSION}
|
echo y | bash -x pihole checkout core ${CORE_VERSION}
|
||||||
echo y | bash -x pihole checkout web ${WEB_VERSION}
|
echo y | bash -x pihole checkout web ${WEB_VERSION}
|
||||||
# echo y | bash -x pihole checkout ftl ${CORE_VERSION}
|
# echo y | bash -x pihole checkout ftl ${CORE_VERSION}
|
||||||
|
|
Loading…
Reference in New Issue