From c98dabec034791c394e84e9000152d5a3f0bd477 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Fri, 22 Nov 2019 11:53:23 +0100 Subject: [PATCH] Optimized shellcheck hints --- scripts/import-data-from-system.sh | 2 +- scripts/system-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/import-data-from-system.sh b/scripts/import-data-from-system.sh index f7e1b8d..0e7d205 100644 --- a/scripts/import-data-from-system.sh +++ b/scripts/import-data-from-system.sh @@ -19,7 +19,7 @@ if [ "$1" = "reverse" ] MODE="import" fi CONCRETE_BACKUP_FOLDER="$BACKUP_PATH/$MODE/$(date '+%Y%m%d%H%M%S')" -mkdir -p $CONCRETE_BACKUP_FOLDER +mkdir -p "$CONCRETE_BACKUP_FOLDER" declare -a BACKUP_LIST=("$HOME/.ssh/" \ "$HOME/.gitconfig" \ "$HOME/.atom/config.cson" \ diff --git a/scripts/system-setup.sh b/scripts/system-setup.sh index 5943527..ed2acac 100644 --- a/scripts/system-setup.sh +++ b/scripts/system-setup.sh @@ -107,7 +107,7 @@ echo "->Synchronizing virtualisation tools..." pamac install virtualbox $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-virtualbox-host-modules"}' ORS=' ') sudo vboxreload pamac build virtualbox-ext-oracle -sudo gpasswd -a $USER vboxusers +sudo gpasswd -a "$USER" vboxusers echo "Keep in mind to install the guest additions in the virtualized system. See https://wiki.manjaro.org/index.php?title=VirtualBox" echo "Installing entertainment software..." echo "->Synchronizing audio software..."