Solved destructor and package load bug

This commit is contained in:
Kevin Veen-Birkenbach 2020-06-11 15:09:28 +02:00
parent 09bde4fadf
commit 9922b48547
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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!"