summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rwxr-xr-xmga-bg-res/mga-bg-res.sh1
2 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f5548e2..c3ff392 100644
--- a/Makefile
+++ b/Makefile
@@ -16,15 +16,11 @@ scripts:
@for i in */gfxboot/*.png ; do \
echo \(gimp-normalize-to-bootsplash 1.0 \"$$i\" \"`dirname $$i`/`basename $$i .png`.jpg\"\) >> tmp-gimp-command; \
done
-# @for i in */background/*.png ; do \
-# echo \(gimp-convert-to-jpeg 0.98 \"$$i\" \"`dirname $$i`/`basename $$i .png`.jpg\"\) >> tmp-gimp-command; \
-# done
+
@echo \(gimp-quit 1\) >> tmp-gimp-command
@echo running gimp to convert images
@cat tmp-gimp-command | gimp --console-messages -i -d -b -
@rm -f tmp-gimp-command
-# GIMP2_DIRECTORY=`pwd`/gimp gimp --console-messages -i -d -b '(begin (gimp-normalize-to-bootsplash-dirs "1.0" "*" "bootsplash/data/*.png") (gimp-quit 1))'
-# GIMP2_DIRECTORY=`pwd`/gimp gimp --console-messages -i -d -b '(begin (gimp-normalize-to-bootsplash-dirs "1.0" "*" "gfxboot/*.png") (gimp-quit 1))'
install:
mkdir -p $(DESTDIR)$(sharedir)/mga/screensaver
diff --git a/mga-bg-res/mga-bg-res.sh b/mga-bg-res/mga-bg-res.sh
index b6b0f24..79c0e68 100755
--- a/mga-bg-res/mga-bg-res.sh
+++ b/mga-bg-res/mga-bg-res.sh
@@ -41,7 +41,6 @@ fi
if [ "$curlink" != "$bgpath/$theme-$res.png" ]; then
if [ -e "$bgpath/$theme-$res.png" ]; then
ln -sf $bgpath/$theme-$res.png $bgpath/default.png
- ln -sf $bgpath/default.png $bgpath/default.jpg
if [ -d /boot/grub2/themes ]; then
cp -f $bgpath/$theme-$res.png /boot/grub2/themes/grub2-mageia-default.png
fi