[Frugalware-devel] [New Package] gweled
Miklos Vajna
vmiklos at frugalware.org
Tue Apr 5 23:24:59 CEST 2011
On Tue, Apr 05, 2011 at 02:26:56PM +0200, Sebastien VINCENT <svincent.fw at gmail.com> wrote:
> scores=( 'gweled.Normal.scores' 'gweled.Timed.scores')
>
> post_install()
> {
> echo -n "updating hicolor icon cache..."
> if gtk-update-icon-cache -f -t /usr/share/icons/hicolor > /dev/null 2>&1 ; then
> echo " done."
> else
> echo " failed."
> fi
> # For Gnome-minimal ( /var/games does not exists)
> if [ ! -d /var/games ]; then
> mkdir /var/games
> fi
> #Create the File
> for score in "${scores[@]}" ; do
> touch /var/games/$score
> chown root:users /var/games/${score}
> chmod 664 /var/games/${score}
> done
Hi,
What's the motivation behind creating these files install-time, raither
than inside build(), build-time?
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: </pipermail/attachments/20110405/54b4835f/attachment.asc>
More information about the Frugalware-devel
mailing list