Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6b434436e29b2ffacec65bb215d9f6c582ca0b48
commit 6b434436e29b2ffacec65bb215d9f6c582ca0b48 Author: bouleetbil <bouleet...@frogdev.info> Date: Sun Jun 5 04:15:06 2011 +0200 gnome-shell-extensions *new schema *all gnome-shell-extension should use this schema *more simple to update shell-version when gnome-shell will be bumped diff --git a/source/include/gnome-shell-extensions.sh b/source/include/gnome-shell-extensions.sh new file mode 100644 index 0000000..36a605d --- /dev/null +++ b/source/include/gnome-shell-extensions.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +### +# = gnome-shell-extension.sh(3) +# bouleetbil <bouleet...@frogdev.info> +# +# == NAME +# gnome-shell-extension.sh - for Frugalware +# +# == SYNOPSIS +# Common schema for gnome-shell-extensions packages. + +### +# == PROVIDED FUNCTIONS +# * FGnomeShellVersion(): Change shell-version into metadata.json. +### +FGnomeShellVersion() +{ +for i in `find $Fdestdir/usr/share/gnome-shell/extensions/ -name metadata.json` +do + Fsed "shell-version\": \[" \ + "shell-version\": \[ \"3.0\"," \ + $i +done +} _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git