#!/bin/sh # # Copyright (C) 2012 Rubén Rodríguez <ruben@trisquel.info> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # VERSION=7 . ./config # Custom settings cp $DATA/com.canonical.unity-greeter.gschema.xml data # Change the sound theme sed s/ubuntu/freedesktop/g src/unity-greeter.vala -i rm -f src/*.c # Custom artwork sed '/logo-bare/d; /rm.*logo.png/d' -i debian/rules sed '/paint_with_alpha/s/0.5/1.0/' -i src/background.vala cp $DATA/logo.png data/logo.png cp $DATA/logo.png . cp $DATA/logo-bare.png data/logo-bare.png cp $DATA/cof.png data cp $DATA/badge.png data/trisquel_badge.png cp $DATA/badge.png data/unknown_badge.png replace ubuntu_badge trisquel_badge . changelog "Adapted for Trisquel" compile