unity-greeter: fix wallpaper setup on release upgrade

This commit is contained in:
Luis Guzmán 2023-03-26 17:09:50 +00:00
parent fe12ec18dd
commit 96811587ae
2 changed files with 5 additions and 2 deletions

View file

@ -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