8000 Sync with latest boilerplate. · pimoroni/bme680-python@9513442 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9513442

Browse files
committed
Sync with latest boilerplate.
* install.sh: drop symlink warning for /boot/config.txt. * install.sh: drop quotes around apt packages.
1 parent 257991c commit 9513442

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

install.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ find_config() {
5858
if [ ! -f "$CONFIG_DIR/$CONFIG_FILE" ]; then
5959
fatal "Could not find $CONFIG_FILE!"
6060
fi
61-
else
62-
if [ -f "/boot/$CONFIG_FILE" ] && [ ! -L "/boot/$CONFIG_FILE" ]; then
63-
warning "Oops! It looks like /boot/$CONFIG_FILE is not a link to $CONFIG_DIR/$CONFIG_FILE"
64-
warning "You might want to fix this!"
65-
fi
6661
fi
6762
inform "Using $CONFIG_FILE in $CONFIG_DIR"
6863
}
@@ -156,7 +151,8 @@ function apt_pkg_install {
156151
sudo apt update
157152
APT_HAS_UPDATED=true
158153
fi
159-
sudo apt install -y "$PACKAGES"
154+
# shellcheck disable=SC2086
155+
sudo apt install -y $PACKAGES
160156
check_for_error
161157
if [ -f "$UNINSTALLER" ]; then
162158
echo "apt uninstall -y $PACKAGES" >> "$UNINSTALLER"

0 commit comments

Comments
 (0)
0