[Blends-commit] [SCM] ezgo branch, master, updated. ba02fd79a4f45ed1f34684b0657d548cc5b77d59

Franklin franklin at goodhorse.idv.tw
Tue Mar 22 15:54:24 UTC 2016


The following commit has been merged in the master branch:
commit 4a4c0f9aa0afa4f7a9e5cf3e0460bc3df76e367d
Author: Franklin <franklin at goodhorse.idv.tw>
Date:   Tue Mar 22 22:05:14 2016 +0800

    modify the script

diff --git a/ezgo-artwork/update-artwork b/ezgo-artwork/update-artwork
index ab23e2c..c096a2c 100755
--- a/ezgo-artwork/update-artwork
+++ b/ezgo-artwork/update-artwork
@@ -20,15 +20,15 @@ change_desktop_background() {
     update-alternatives --install \
         /usr/share/images/desktop-base/desktop-background \
 	desktop-background \
-	/usr/share/images/desktop-base/ezgo12-wallpaper-2560x1600.png 80
+	/usr/share/images/desktop-base/2560x1600.png 80
     update-alternatives --install \
         /usr/share/images/desktop-base/desktop-background.xml \
 	desktop-background.xml \
 	/usr/share/images/desktop-base/ezgo-wallpaper.xml 30
 
-    for WALLPAPER in ezgo12-wallpaper-1366x768.png \
-        ezgo12-wallpaper-2560x1600.png \
-		ezgo12-wallpaper-1920x1080.png ; do
+    for WALLPAPER in 1366x768.png \
+        2560x1600.png \
+		1920x1080.png ; do
 	update-alternatives --install \
 	        /usr/share/images/desktop-base/desktop-background \
 		desktop-background \
@@ -39,14 +39,14 @@ change_desktop_background() {
 restore_desktop_background() {
     update-alternatives --remove \
 	desktop-background \
-	/usr/share/images/desktop-base/ezgo12-wallpaper-2560x1600.png
+	/usr/share/images/desktop-base/2560x1600.png
     update-alternatives --remove \
 	desktop-background.xml \
 	/usr/share/images/desktop-base/ezgo-wallpaper.xml
 
-    for WALLPAPER in ezgo12-wallpaper-1366x768.png \
-        ezgo12-wallpaper-2560x1600.png \
-		ezgo12-wallpaper-1920x1080.png ; do
+    for WALLPAPER in 1366x768.png \
+        2560x1600.png \
+		1920x1080.png ; do
 	update-alternatives --remove desktop-background \
 		/usr/share/images/desktop-base/$WALLPAPER
     done
@@ -79,12 +79,12 @@ install_default_dm_background() {
     update-alternatives --install \
         /usr/share/images/desktop-base/ezgo-default-dm.png \
         ezgo-default-dm.png \
-        /usr/share/ezgo/ezgo-artwork/default-dm/ezgo12-dm-background-1920x1080.png 60
+        /usr/share/ezgo/ezgo-artwork/default-dm/1920x1080.png 60
 }
 
 remove_default_dm_background() {
     update-alternatives --remove ezgo-default-dm.png \
-        /usr/share/ezgo/ezgo-artwork/default-dm/ezgo12-dm-background-1920x1080.png
+        /usr/share/ezgo/ezgo-artwork/default-dm/1920x1080.png
 }
 
 compile_gschemas() {

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list