Skip to content
Snippets Groups Projects
Commit 96811587 authored by Luis Guzmán's avatar Luis Guzmán
Browse files

unity-greeter: fix wallpaper setup on release upgrade

parent fe12ec18
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<schemalist gettext-domain="unity-greeter">
<schema id="com.canonical.unity-greeter" path="/com/canonical/unity-greeter/">
<key name="background" type="s">
<default>'/usr/share/backgrounds/nabia.jpg'</default>
<default>'/usr/share/backgrounds/CODENAME'</default>
<summary>Background file to use, either an image path or a color (e.g. #772953)</summary>
</key>
<key name="background-color" type="s">
......
......@@ -17,13 +17,16 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=5
VERSION=6
. ./config
# Custom settings
cp $DATA/com.canonical.unity-greeter.gschema.xml data
# Change the background wallpaper correspondingly to the new release along with extension.
sed -i "s|CODENAME|$CODENAME.jpg|" data/com.canonical.unity-greeter.gschema.xml
# Change the sound theme
sed s/ubuntu/freedesktop/g src/unity-greeter.vala -i
sed 's/"system-ready"/"bell"/' src/unity-greeter.vala -i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment