mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-22 07:01:03 +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 "$@"
|
for package_collection in "$@"
|
||||||
do
|
do
|
||||||
package_collection_path="$PACKAGE_PATH""$package_collection.txt" &&
|
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' ' ')" ||
|
echo "$(sed -e "/^#/d" -e "s/#.*//" "$package_collection_path" | tr '\n' ' ')" ||
|
||||||
error
|
error
|
||||||
done
|
done
|
||||||
|
@ -50,7 +50,7 @@ mount_partitions(){
|
|||||||
error
|
error
|
||||||
}
|
}
|
||||||
|
|
||||||
umount_everything(){
|
destructor(){
|
||||||
info "Cleaning up..."
|
info "Cleaning up..."
|
||||||
info "Unmounting everything..."
|
info "Unmounting everything..."
|
||||||
umount -lv "$chroot_dev_pts_mount_path" || warning "Umounting $chroot_dev_pts_mount_path failed!"
|
umount -lv "$chroot_dev_pts_mount_path" || warning "Umounting $chroot_dev_pts_mount_path failed!"
|
||||||
|
Loading…
Reference in New Issue
Block a user