Solved some bugs

This commit is contained in:
2020-05-19 11:10:06 +02:00
parent e1b32ae2e5
commit e6770eddda
6 changed files with 21 additions and 12 deletions

View File

@@ -1,7 +1,9 @@
#!/bin/bash
# shellcheck disable=SC2010
# shellcheck disable=SC2010 # ls | grep allowed
# shellcheck disable=SC2015 # Deactivating bool hint
# shellcheck source=/dev/null # Deactivate SC1090
# shellcheck disable=SC2154 # Deactivate not referenced link
# shellcheck disable=SC2015 # Deactivate bools hints
source "$(dirname "$(readlink -f "${0}")")/base.sh" || (echo "Loading base.sh failed." && exit 1)
info "Backupscript for memory devices started..."
echo

View File

@@ -3,7 +3,9 @@
# Offers base functions for the image management
#
# shellcheck disable=SC2034 #Deactivate checking of unused variables
# shellcheck disable=SC2010 # ls | grep allowed
# shellcheck source=/dev/null # Deactivate SC1090
# shellcheck disable=SC2015 # Deactivate bools hints
source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh failed." && exit 1)
# Writes the full partition name

View File

@@ -1,6 +1,7 @@
#!/bin/bash
# shellcheck source=/dev/null # Deactivate SC1090
# shellcheck disable=SC2015 # Deactivating bool hint
# shellcheck disable=SC2154 # Deactivate not referenced link
source "$(dirname "$(readlink -f "${0}")")/base.sh" || (echo "Loading base.sh failed." && exit 1)
info "Starting chroot..."

View File

@@ -1,6 +1,8 @@
#!/bin/bash
# shellcheck disable=SC2010 # ls | grep allowed
# shellcheck source=/dev/null # Deactivate SC1090
# shellcheck disable=SC2015 # Deactivate bools hints
# shellcheck disable=SC2154 # Deactivate not referenced link
source "$(dirname "$(readlink -f "${0}")")/base.sh" || (echo "Loading base.sh failed." && exit 1)
info "Setupscript for images started..."
@@ -172,7 +174,7 @@ info "Generating os-image..."
download_url="$base_download_url$imagename"
image_path="$image_folder$imagename"
question "Should the image download be forced?(y/n)" && read -r force_image_download
question "Should the image download be forced?(y/N)" && read -r force_image_download
if [ "$force_image_download" = "y" ]
then
if [ -f "$image_path" ]