diff options
-rwxr-xr-x | mga-bg-res/mga-bg-res.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mga-bg-res/mga-bg-res.sh b/mga-bg-res/mga-bg-res.sh index 0c733de..3dc8416 100755 --- a/mga-bg-res/mga-bg-res.sh +++ b/mga-bg-res/mga-bg-res.sh @@ -41,6 +41,9 @@ fi if [ "$curlink" != "$bgpath/$theme-$res.jpg" ]; then if [ -e "$bgpath/$theme-$res.jpg" ]; then ln -sf $bgpath/$theme-$res.jpg $bgpath/default.jpg + if [ -d /boot/grub2/themes ]; then + cp -f $bgpath/$theme-$res.png /boot/grub2/themes/grub2-mageia-default.png + fi else echo -e "Could not find this file: $bgpath/$theme-$res.jpg." echo "Please check that the mageia-theme-Default package is properly installed, or disable" |