misc: improve patch and xargs default usage on helpers.

This commit is contained in:
Luis Guzmán 2023-10-07 07:55:41 +00:00
parent 4ad5d3ae6f
commit 11a7c33983
60 changed files with 109 additions and 106 deletions

View file

@ -23,7 +23,7 @@ VERSION=1
#Set default trisquel wallpaper
BUDGIE_WALLP="usr/share/backgrounds/budgie/ubuntu_budgie_wallpaper1.jpg"
TRISQUEL_WALLP="usr/share/backgrounds/$CODENAME.jpg"
grep -lr "$BUDGIE_WALLP" | xargs sed -i "s|$BUDGIE_WALLP|$TRISQUEL_WALLP|g"
grep -lr "$BUDGIE_WALLP" | xargs -r sed -i "s|$BUDGIE_WALLP|$TRISQUEL_WALLP|g"
#menu-icon
cp $DATA/logo-trisquel.svg distrologo/trisquel-logo.svg