On Tue, Apr 05, 2011 at 02:26:56PM +0200, Sebastien VINCENT 
<[email protected]> 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.

Attachment: pgpd4bZ9uvpcS.pgp
Description: PGP signature

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to