mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-12 18:51:04 +01:00
Solved destructor and package load bug
This commit is contained in:
parent
09bde4fadf
commit
9922b48547
@ -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
|
||||
|
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user