mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2025-09-09 11:47:12 +02:00
Adapted paths and deleted scripts which are not neccessary anymore
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Executes all scripts which are necessary to backup data
|
||||
# @author Kevin Veen-Birkenbach [aka. Frantz]
|
||||
source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh failed." && exit 1)
|
||||
bash "$SCRIPT_PATH""client/import-data-from-system.sh"
|
||||
bash "$SCRIPT_PATH""client/push-local-repositories.sh"
|
@@ -3,4 +3,4 @@
|
||||
# @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)
|
||||
bash "$SCRIPT_PATH""client/import-data-from-system.sh" reverse
|
||||
bash "$SCRIPT_PATH""data/import-from-system.sh" reverse
|
||||
|
@@ -9,7 +9,7 @@ source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh
|
||||
if [ -z "$(mount | grep "$DECRYPTED_PATH")" ]
|
||||
then
|
||||
info "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!" &&
|
||||
bash "$SCRIPT_PATH/unlock.sh" || error "Unlocking failed.";
|
||||
bash "$SCRIPT_PATH""encryption/unlock.sh" || error "Unlocking failed.";
|
||||
fi
|
||||
if [ "$1" = "reverse" ]
|
||||
then
|
||||
|
Reference in New Issue
Block a user