Created
March 9, 2016 10:44
-
-
Save mestia/9076ec75567cd774cf4b to your computer and use it in GitHub Desktop.
fix rex1.4.0 typos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Subject: Correct typos detected by lintian | |
| From: Alex Mestiashvili <[email protected]> | |
| --- rex.orig/lib/Rex/Commands/Pkg.pm | |
| +++ rex/lib/Rex/Commands/Pkg.pm | |
| @@ -569,7 +569,7 @@ | |
| my @old_installed = $pkg->get_installed; | |
| eval { $pkg->update_system; }; | |
| - Rex::Logger::info( "An error occured for update_system: $@", "warn" ) if $@; | |
| + Rex::Logger::info( "An error occurred for update_system: $@", "warn" ) if $@; | |
| my @new_installed = $pkg->get_installed; | |
| --- rex.orig/lib/Rex/Commands/File.pm | |
| +++ rex/lib/Rex/Commands/File.pm | |
| @@ -725,7 +725,7 @@ | |
| # catch an error | |
| if($@) { | |
| - print "An error occured. $@.\n"; | |
| + print "An error occurred. $@.\n"; | |
| } | |
| # work with the filehandle | |
| @@ -782,7 +782,7 @@ | |
| # catch an error | |
| if($@) { | |
| - print "An error occured. $@.\n"; | |
| + print "An error occurred. $@.\n"; | |
| } | |
| # work with the filehandle | |
| --- rex.orig/lib/Rex/Commands/Partition.pm | |
| +++ rex/lib/Rex/Commands/Partition.pm | |
| @@ -148,7 +148,7 @@ | |
| =item vg | |
| -Creates an LVM PV, then creates the specifed LVM VG (or extends it, if the VG already exists). Needs C<ondisk>. | |
| +Creates an LVM PV, then creates the specified LVM VG (or extends it, if the VG already exists). Needs C<ondisk>. | |
| =back | |
| --- rex.orig/lib/Rex/Commands/Virtualization.pm | |
| +++ rex/lib/Rex/Commands/Virtualization.pm | |
| @@ -88,7 +88,7 @@ | |
| =head2 Creating a Virtual Machine | |
| -Create a (VirtualBox) VM named "vm01" with 512 MB ram and 1 cpu. One harddrive, 10 GB in size beeing a file on disk. | |
| +Create a (VirtualBox) VM named "vm01" with 512 MB ram and 1 cpu. One harddrive, 10 GB in size being a file on disk. | |
| With a cdrom as an iso image and a natted network. The bootorder is set to "dvd". | |
| vm create => "vm01", | |
| @@ -107,7 +107,7 @@ | |
| boot => "dvd"; | |
| -Create a (KVM) VM named "vm01" with 512 MB ram and 1 cpu. One harddrive, 10 GB in size beeing a file on disk. | |
| +Create a (KVM) VM named "vm01" with 512 MB ram and 1 cpu. One harddrive, 10 GB in size being a file on disk. | |
| With a cdrom as an iso image and a bridged network on the bridge virbr0. The Bootorder is set to "cdrom". | |
| vm create => "vm01", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment