summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin-http/google-chrome-bin/DETAILS9
-rw-r--r--bin-http/google-chrome-bin/HISTORY2
-rwxr-xr-xbin-http/google-chrome-bin/PREPARE3
3 files changed, 12 insertions, 2 deletions
diff --git a/bin-http/google-chrome-bin/DETAILS b/bin-http/google-chrome-bin/DETAILS
index 4c536e0..928bf86 100755
--- a/bin-http/google-chrome-bin/DETAILS
+++ b/bin-http/google-chrome-bin/DETAILS
@@ -1,10 +1,15 @@
SPELL=google-chrome-bin
+if [[ "$GOOGLE_CHROME_BIN_DAILY" == "y" ]]
+then
+ VERSION=$(date +%Y%m%d)
+else
VERSION=beta_current
+fi
if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]
then
- SOURCE=${SPELL/-bin/}-${VERSION}_x86_64.rpm
+ SOURCE=${SPELL/-bin/}-beta_current_x86_64.rpm
else
- SOURCE=${SPELL/-bin/}-${VERSION}_i386.rpm
+ SOURCE=${SPELL/-bin/}-beta_current_i386.rpm
fi
SOURCE_IGNORE=unversioned
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/bin-http/google-chrome-bin/HISTORY b/bin-http/google-chrome-bin/HISTORY
index eb0f2fe..eac0067 100644
--- a/bin-http/google-chrome-bin/HISTORY
+++ b/bin-http/google-chrome-bin/HISTORY
@@ -1,7 +1,9 @@
2010-01-06 Eric Sandall <sandalle@sourcemage.org>
+ * PREPARE: Query for daily updates
* DETAILS: Apparently these RPMs change daily, switching to unversioned SOURCE_IGNORE
and setting VERSION to "beta_current"
Fix typos in x86_64 and x86 SOURCE
+ Set version to daily or "beta_current"
2010-01-05 Eric Sandall <sandalle@sourcemage.org>
* DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL: Created
diff --git a/bin-http/google-chrome-bin/PREPARE b/bin-http/google-chrome-bin/PREPARE
new file mode 100755
index 0000000..3065b3c
--- /dev/null
+++ b/bin-http/google-chrome-bin/PREPARE
@@ -0,0 +1,3 @@
+config_query GOOGLE_CHROME_BIN_DAILY \
+ "Automatically update on every system update?" n
+