mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-20 06:26:38 +02:00
input yes to continue checkout of dev
This commit is contained in:
parent
4f93823711
commit
b140aeb79d
|
@ -52,9 +52,11 @@ installPihole | tee "${tmpLog}"
|
|||
mv "${tmpLog}" /
|
||||
|
||||
if [[ $USE_DEVELOPMENT_BRANCHES == true ]] ; then
|
||||
pihole checkout core development
|
||||
pihole checkout web devel
|
||||
pihole checkout ftl development
|
||||
ln -s /bin/true /usr/local/bin/service
|
||||
echo y | bash -x pihole checkout core development
|
||||
echo y | bash -x pihole checkout web devel
|
||||
echo y | bash -x pihole checkout ftl development
|
||||
unlink /usr/local/bin/service
|
||||
else
|
||||
# Reset to our tags so version numbers get detected correctly
|
||||
pushd "${PI_HOLE_LOCAL_REPO}"; git reset --hard "${CORE_TAG}"; popd;
|
||||
|
|
Loading…
Reference in New Issue
Block a user