misc: fix shared wallpaper path on helper.

This commit is contained in:
Luis Guzman 2024-09-04 23:11:24 +00:00
parent 1c3f58b50a
commit 9a4c93a9ae
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ VERSION=2
#Set default trisquel wallpaper
BUDGIE_WALLP="budgie-codename.png"
TRISQUEL_WALLP="$(find DATA/trisquel-wallpapers/ -name $CODENAME.*|xargs basename)"
TRISQUEL_WALLP="$(find $DATA/../trisquel-wallpapers/ -name $CODENAME.*|xargs basename)"
grep -lr "$BUDGIE_WALLP" | xargs -r sed -i "s|$BUDGIE_WALLP|$TRISQUEL_WALLP|g"
@ -33,7 +33,7 @@ cp $DATA/logo-trisquel.svg distrologo/trisquel-logo.svg
# Make sure to review helper on the designed stage prior to release, so it uses
# right artwork when released.
cp $(find DATA/trisquel-wallpapers/ -name $CODENAME.*) codename-wallpapers/
cp $(find $DATA/../trisquel-wallpapers/ -name $CODENAME.*) codename-wallpapers/
rm codename-wallpapers/budgie-codename.png
#Tweak default handlers

View file

@ -29,7 +29,7 @@ sed -i "s|picture-uri=.*|picture-uri=\'file:///usr/share/backgrounds/$CODENAME.j
# Make sure to review helper on the designed stage prior to release, so it uses
# right artwork when released.
cp $(find DATA/trisquel-wallpapers/ -name $CODENAME.*) warty-final-ubuntukylin.jpg
cp $(find $DATA/../trisquel-wallpapers/ -name $CODENAME.*) warty-final-ubuntukylin.jpg
# Add current release wallpaper to any possible xml release kylin-wallpaper file.
for i in $(find -name \*.xml.in)