Skip to content

Commit 3906f06

Browse files
authored
Merge pull request #824 from Paraphraser/20260407-installer-master
2026-04-07 installer - master branch - don't create treeless clone
2 parents 3d075c4 + 0adf162 commit 3906f06

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

install.sh

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# version - MUST be exactly 7 characters!
4-
UPDATE="2026v01"
4+
UPDATE="2026v02"
55

66
#----------------------------------------------------------------------
77
# The intention of this script is that it should be able to be run
@@ -34,12 +34,6 @@ IOTSTACK_MENU_REQUIREMENTS="$IOTSTACK/requirements-menu.txt"
3434
IOTSTACK_MENU_VENV_DIR="$IOTSTACK/.virtualenv-menu"
3535
IOTSTACK_INSTALLER_HINT="$IOTSTACK/.new_install"
3636

37-
# git cloning options which can be overridden
38-
# (needs special handling for the null case)
39-
if [[ ! -v GIT_CLONE_OPTIONS ]] ; then
40-
GIT_CLONE_OPTIONS="--filter=tree:0"
41-
fi
42-
4337
# the expected installation location of docker-compose-plugin is
4438
COMPOSE_PLUGIN_PATH="/usr/libexec/docker/cli-plugins/docker-compose"
4539

@@ -443,13 +437,8 @@ fi
443437
# does the IOTstack folder already exist?
444438
if [ ! -d "$IOTSTACK" ] ; then
445439
# no! clone from GitHub
446-
if [ -n "$GIT_CLONE_OPTIONS" ] ; then
447-
echo -e "\nCloning the IOTstack repository from GitHub using options $GIT_CLONE_OPTIONS"
448-
git clone "$GIT_CLONE_OPTIONS" https://github.com/SensorsIot/IOTstack.git "$IOTSTACK"
449-
else
450-
echo -e "\nCloning the full IOTstack repository from GitHub"
451-
git clone https://github.com/SensorsIot/IOTstack.git "$IOTSTACK"
452-
fi
440+
echo -e "\nCloning IOTstack repository from GitHub"
441+
git clone https://github.com/SensorsIot/IOTstack.git "$IOTSTACK"
453442
if [ $? -eq 0 -a -d "$IOTSTACK" ] ; then
454443
echo "IOTstack cloned successfully into $IOTSTACK"
455444
else

0 commit comments

Comments
 (0)