]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[populate-initrd] Don't require set_verbose function
authorRay Strode <rstrode@redhat.com>
Thu, 10 Sep 2009 13:54:44 +0000 (09:54 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 10 Sep 2009 13:55:18 +0000 (09:55 -0400)
If it's not around, define it, so we can use it without error

scripts/plymouth-populate-initrd.in

index dd502b9fb5927f8aabe3db4d8083ae7ee808d4a3..dcf2b427cf24b87d4c742b0f648dc60529fa89cd 100755 (executable)
@@ -28,6 +28,10 @@ if [ " $(type -t inst) " != " function " ]; then
     exit 1
 fi
 
+if [ " $(type -t set_verbose) " != " function " ]; then
+    function set_verbose { true; }
+fi
+
 function usage() {
     local output="/dev/stdout"
     local rc=0