aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make-boot-splash
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-04-14 14:56:00 +0000
committerColin Guthrie <colin@mageia.org>2012-04-14 14:56:00 +0000
commit226ab5b3d5f722307af9164eb6cc9bbf23790645 (patch)
tree6cde91f8f5df979ccd9bd6ca67ae1ddd618a1c6a /scripts/make-boot-splash
parent42060370947f216409c8dfad5ac90ba5fbd9fdd4 (diff)
downloadbootsplash-226ab5b3d5f722307af9164eb6cc9bbf23790645.tar
bootsplash-226ab5b3d5f722307af9164eb6cc9bbf23790645.tar.gz
bootsplash-226ab5b3d5f722307af9164eb6cc9bbf23790645.tar.bz2
bootsplash-226ab5b3d5f722307af9164eb6cc9bbf23790645.tar.xz
bootsplash-226ab5b3d5f722307af9164eb6cc9bbf23790645.zip
Do not pass theme in when calling make-boot-splash-raw.
This reverts and earlier commit that used it explicitly, however this approach is more error prone. The default theme is set in make-boot-splash, and thus it will be used when calling via this route. Error checking is done at this higher level and thus if an invalid theme is passed in the old theme will still be default and we will properly regenerate initrd. Clarify that the theme argument should not be passed in the help output.
Diffstat (limited to 'scripts/make-boot-splash')
-rwxr-xr-xscripts/make-boot-splash2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make-boot-splash b/scripts/make-boot-splash
index f4d5dab..cca72f2 100755
--- a/scripts/make-boot-splash
+++ b/scripts/make-boot-splash
@@ -17,7 +17,7 @@ resolution=$2
plymouth-set-default-theme $THEME
-$splash_dir/scripts/make-boot-splash-raw $initrd_file $THEME || exit 1
+$splash_dir/scripts/make-boot-splash-raw $initrd_file || exit 1
if [ -z "$DURING_INSTALL" ]; then
$splash_dir/scripts/switch-themes -u