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