Skip to content

Commit

Permalink
Sync with latest boilerplate.
Browse files Browse the repository at this point in the history
* install.sh: drop symlink warning for /boot/config.txt.
* install.sh: drop quotes around apt packages.
  • Loading branch information
Gadgetoid committed Apr 17, 2024
1 parent 257991c commit 9513442
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions install.sh
Expand Up @@ -58,11 +58,6 @@ find_config() {
if [ ! -f "$CONFIG_DIR/$CONFIG_FILE" ]; then
fatal "Could not find $CONFIG_FILE!"
fi
else
if [ -f "/boot/$CONFIG_FILE" ] && [ ! -L "/boot/$CONFIG_FILE" ]; then
warning "Oops! It looks like /boot/$CONFIG_FILE is not a link to $CONFIG_DIR/$CONFIG_FILE"
warning "You might want to fix this!"
fi
fi
inform "Using $CONFIG_FILE in $CONFIG_DIR"
}
Expand Down Expand Up @@ -156,7 +151,8 @@ function apt_pkg_install {
sudo apt update
APT_HAS_UPDATED=true
fi
sudo apt install -y "$PACKAGES"
# shellcheck disable=SC2086
sudo apt install -y $PACKAGES
check_for_error
if [ -f "$UNINSTALLER" ]; then
echo "apt uninstall -y $PACKAGES" >> "$UNINSTALLER"
Expand Down

0 comments on commit 9513442

Please sign in to comment.