Fix capitalization of openSUSE
Change-Id: I10b9875633d29f4cc0b4e00c13bb5998a71bfc17
This commit is contained in:
		| @@ -57,7 +57,7 @@ Installation | |||||||
| * Clone the repository locally, then add bin to your path. | * Clone the repository locally, then add bin to your path. | ||||||
|  |  | ||||||
| * Make sure you have qemu-img (qemu-utils package on Ubuntu/Debian, | * Make sure you have qemu-img (qemu-utils package on Ubuntu/Debian, | ||||||
|   qemu on Fedora/RHEL/OpenSUSE) and kpartx installed. |   qemu on Fedora/RHEL/openSUSE) and kpartx installed. | ||||||
|  |  | ||||||
| Invocation | Invocation | ||||||
| ========== | ========== | ||||||
|   | |||||||
| @@ -37,8 +37,8 @@ function cleanup_old_kernel_initrd() | |||||||
| select_boot_kernel_initrd $TARGET_ROOT | select_boot_kernel_initrd $TARGET_ROOT | ||||||
| BOOTDIR=$TARGET_ROOT/boot | BOOTDIR=$TARGET_ROOT/boot | ||||||
|  |  | ||||||
| # Select_boot_kernel has support for redhat/debian/openSuSE | # Select_boot_kernel has support for redhat/debian/openSUSE | ||||||
| # openSuSE has a built-in logic to delete old kernels | # openSUSE has a built-in logic to delete old kernels | ||||||
| # Hence cleanup_old_kernel will be used only for redhat and debian derived distros. | # Hence cleanup_old_kernel will be used only for redhat and debian derived distros. | ||||||
| if [ -f $TARGET_ROOT/etc/redhat-release -o -f $TARGET_ROOT/etc/debian_version ] ; then | if [ -f $TARGET_ROOT/etc/redhat-release -o -f $TARGET_ROOT/etc/debian_version ] ; then | ||||||
|     cleanup_old_kernel_initrd |     cleanup_old_kernel_initrd | ||||||
|   | |||||||
| @@ -97,7 +97,7 @@ if [ -b $mount_device ]; then | |||||||
|     sudo umount $UNTAR_TO_LOCATION/mnt |     sudo umount $UNTAR_TO_LOCATION/mnt | ||||||
|     sudo qemu-nbd -d $mount_device |     sudo qemu-nbd -d $mount_device | ||||||
| else | else | ||||||
|     echo "Unable to extract openSuSe Image." |     echo "Unable to extract openSUSE Image." | ||||||
|     exit 1 |     exit 1 | ||||||
| fi | fi | ||||||
| # remove the temp directory | # remove the temp directory | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Mueller
					Dirk Mueller