summaryrefslogtreecommitdiffstats
path: root/bin-http/google-chrome-bin/DETAILS
diff options
context:
space:
mode:
Diffstat (limited to 'bin-http/google-chrome-bin/DETAILS')
-rwxr-xr-xbin-http/google-chrome-bin/DETAILS22
1 files changed, 17 insertions, 5 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