mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2025-09-09 11:47:12 +02:00
Completed error function
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
# @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)
|
||||
SYSTEM_MEMORY_KB="$(grep MemTotal /proc/meminfo | awk '{print $2}')"
|
||||
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
|
||||
cp -rfv "$TEMPLATE_PATH/." "$HOME" || error "Copy templates failed."
|
||||
info "Synchronising packages..."
|
||||
sudo pacman -Syyu || error "Package syncronisation failed."
|
||||
FSTAB_SWAP_ENTRY="/swapfile none swap defaults 0 0"
|
||||
SWAP_FILE="/swapfile"
|
||||
FSTAB_FILE="/etc/fstab"
|
||||
|
Reference in New Issue
Block a user