diff options
author | Ladislav Hagara | 2010-06-21 02:57:56 +0200 |
---|---|---|
committer | Ladislav Hagara | 2010-06-21 02:57:56 +0200 |
commit | a0bcc9c4468c16a441fd951e7407f4b0153eeed1 (patch) | |
tree | c076ede5290d08b848b1a673d112db53946a87ac | |
parent | a1560cf6e5af5591ae69f4a83a97d860b01fbe69 (diff) |
google-chrome-bin: added support for stable, beta and unstable version
5.0.375.70 / 5.0.375.70 beta / 6.0.437.3 dev
-rwxr-xr-x | bin-http/google-chrome-bin/DETAILS | 22 | ||||
-rw-r--r-- | bin-http/google-chrome-bin/HISTORY | 4 | ||||
-rwxr-xr-x | bin-http/google-chrome-bin/PREPARE | 3 |
3 files changed, 23 insertions, 6 deletions
diff --git a/bin-http/google-chrome-bin/DETAILS b/bin-http/google-chrome-bin/DETAILS index 7a54ea3..a591274 100755 --- a/bin-http/google-chrome-bin/DETAILS +++ b/bin-http/google-chrome-bin/DETAILS @@ -1,15 +1,27 @@ SPELL=google-chrome-bin -if [[ "$GOOGLE_CHROME_BIN_DAILY" == "y" ]] -then - VERSION=$(date +%Y%m%d) + +if [[ $GOOGLE_CHROME_BIN_VERSION == unstable ]]; then + VERSION=unstable_current else + + if [[ $GOOGLE_CHROME_BIN_VERSION == beta ]]; then + VERSION=beta_current + else VERSION=stable_current + fi + +fi && + +if [[ "$GOOGLE_CHROME_BIN_DAILY" == "y" ]] +then + VERSION=$VERSION-$(date +%Y%m%d) fi + if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]] then - SOURCE=${SPELL/-bin/}-${VERSION}_x86_64.rpm + SOURCE=${SPELL/-bin/}-${VERSION/-*}_x86_64.rpm else - SOURCE=${SPELL/-bin/}-${VERSION}_i386.rpm + SOURCE=${SPELL/-bin/}-${VERSION/-*}_i386.rpm fi SOURCE2=jpegsrc.v6b.tar.gz SOURCE_IGNORE=unversioned diff --git a/bin-http/google-chrome-bin/HISTORY b/bin-http/google-chrome-bin/HISTORY index 07554e0..0c85639 100644 --- a/bin-http/google-chrome-bin/HISTORY +++ b/bin-http/google-chrome-bin/HISTORY @@ -1,3 +1,7 @@ +2010-06-21 Ladislav Hagara <hgr@vabo.cz> + * DETAILS, PREPARE: added support for stable, beta and unstable version + 5.0.375.70 / 5.0.375.70 beta / 6.0.437.3 dev + 2010-05-26 Ladislav Hagara <hgr@vabo.cz> * DETAILS: beta_current -> stable_current diff --git a/bin-http/google-chrome-bin/PREPARE b/bin-http/google-chrome-bin/PREPARE index 3065b3c..62fe5c9 100755 --- a/bin-http/google-chrome-bin/PREPARE +++ b/bin-http/google-chrome-bin/PREPARE @@ -1,3 +1,4 @@ +config_query_list GOOGLE_CHROME_BIN_VERSION 'Which version?' stable beta unstable && + config_query GOOGLE_CHROME_BIN_DAILY \ "Automatically update on every system update?" n - |