From 54a11fa8d42212cd793cbb9a513aee84ee33e81e Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 1 Oct 2019 11:59:31 +0200 Subject: [PATCH] Added libre office --- scripts/base.sh | 1 + scripts/import-data-from-system.sh | 4 ++++ scripts/lock.sh | 4 ++++ scripts/system-setup.sh | 6 ++++++ scripts/unlock.sh | 4 ++++ 5 files changed, 19 insertions(+) diff --git a/scripts/base.sh b/scripts/base.sh index b05e5cb..34d2c74 100644 --- a/scripts/base.sh +++ b/scripts/base.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # This script contains the global program variables and functions # @author Kevin Veen-Birkenbach [aka. Frantz] REPOSITORY_PATH="$(dirname "$(readlink -f "${0}")")" diff --git a/scripts/import-data-from-system.sh b/scripts/import-data-from-system.sh index 215c4c1..604a57e 100644 --- a/scripts/import-data-from-system.sh +++ b/scripts/import-data-from-system.sh @@ -1,7 +1,11 @@ #!/bin/bash +# # Imports data from the system # @author Kevin Veen-Birkenbach [aka. Frantz] # @param $1 If the first parameter is "reverse" the data will be exported to the system +# +# Deactivate SC1090 +# shellcheck source=/dev/null source "$(dirname "$(readlink -f "${0}")")/base.sh" DATA_FOLDER=$ENCRYPTED if [ -z "$(mount | grep $DATA_FOLDER)" ] diff --git a/scripts/lock.sh b/scripts/lock.sh index fddd4ab..4aca865 100644 --- a/scripts/lock.sh +++ b/scripts/lock.sh @@ -1,6 +1,10 @@ #!/bin/bash +# # Locks the data # @author Kevin Veen-Birkenbach [aka. Frantz] +# +# Deactivate SC1090 +# shellcheck source=/dev/null source "$(dirname "$(readlink -f "${0}")")/base.sh" echo "Locking directory $DECRYPTED..." fusermount -u "$DECRYPTED" && echo "Data is now encrypted." && echo "Removing directory $DECRYPTED..." && rmdir "$DECRYPTED" diff --git a/scripts/system-setup.sh b/scripts/system-setup.sh index d7adec1..7e0c493 100644 --- a/scripts/system-setup.sh +++ b/scripts/system-setup.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # Installs the core system # @author Kevin Veen-Birkenbach [aka. Frantz] echo "Start setup of customized core software..." @@ -29,6 +30,11 @@ gnome-shell-extension-tool -e nasa_apod@elinvention.ovh echo "Synchronizing web tools..." sudo pacman --needed -S chromium firefox firefox-ublock-origin firefox-extension-https-everywhere firefox-dark-reader firefox-noscript echo "Synchronizing office tools..." +sudo pacman --needed -S ttf-liberation libreoffice-fresh \ + libreoffice-fresh-de libreoffice-fresh-eo libreoffice-fresh-es libreoffice-fresh-nl \ + hunspell \ + hunspell-de hunspell-es_es hunspell-en_US hunspell-nl +echo "Synchronizing grafic tools..." sudo pacman --needed -S gimp echo "Synchronizing communication tools..." yay pacman --needed -S slack-desktop skypeforlinux-stable-bin diff --git a/scripts/unlock.sh b/scripts/unlock.sh index a2dc280..569486a 100644 --- a/scripts/unlock.sh +++ b/scripts/unlock.sh @@ -1,6 +1,10 @@ #!/bin/bash +# # Unlocks the data # @author Kevin Veen-Birkenbach [aka. Frantz] +# +# Deactivate SC1090 +# shellcheck source=/dev/null source "$(dirname "$(readlink -f "${0}")")/base.sh" echo "Unlocking directory $DECRYPTED..." echo "Creating directory $DECRYPTED..."