Optimized base.sh

This commit is contained in:
2020-05-02 12:37:26 +02:00
parent f385bc3d98
commit c7a804f3f1
2 changed files with 45 additions and 21 deletions

View File

@@ -4,10 +4,11 @@
# @author Kevin Veen-Birkenbach [aka. Frantz]
#
# shellcheck source=/dev/null # Deactivate SC1090
source "$(dirname "$(readlink -f "${0}")")/base.sh" || echo "Loading base.sh failed." && exit 1
source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh failed." && exit 1)
SYSTEM_MEMORY_KB="$(grep MemTotal /proc/meminfo | awk '{print $2}')"
echo "Start setup of customized core software..."
echo "Copying templates to home folder..."
info "Start setup of customized core software..."
info "Copying templates to home folder..."
exit
cp -rfv "$TEMPLATE_PATH/." "$HOME"
echo "Synchronising packages..."
sudo pacman -Syyu