From 9922b48547d258b62a1c9f6ffdc0dcbd44fbba6d Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Thu, 11 Jun 2020 15:09:28 +0200 Subject: [PATCH] Solved destructor and package load bug --- scripts/base.sh | 2 +- scripts/image/base.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/base.sh b/scripts/base.sh index 4d69e6f..67e15c0 100644 --- a/scripts/base.sh +++ b/scripts/base.sh @@ -97,7 +97,7 @@ get_packages(){ for package_collection in "$@" do package_collection_path="$PACKAGE_PATH""$package_collection.txt" && - info "Loading package collection from $package_collection_path..." && + #info "Loading package collection from $package_collection_path..." && echo "$(sed -e "/^#/d" -e "s/#.*//" "$package_collection_path" | tr '\n' ' ')" || error done diff --git a/scripts/image/base.sh b/scripts/image/base.sh index 8693779..43cb4d5 100644 --- a/scripts/image/base.sh +++ b/scripts/image/base.sh @@ -50,7 +50,7 @@ mount_partitions(){ error } -umount_everything(){ +destructor(){ info "Cleaning up..." info "Unmounting everything..." umount -lv "$chroot_dev_pts_mount_path" || warning "Umounting $chroot_dev_pts_mount_path failed!"