Date: Friday, September 24, 2010 @ 18:50:12
  Author: pierre
Revision: 91238

Add a note about the cron job and link to the forums post

Added:
  pkgstats/trunk/pkgstats.install
Modified:
  pkgstats/trunk/PKGBUILD

------------------+
 PKGBUILD         |    3 ++-
 pkgstats.install |   10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-09-24 18:03:03 UTC (rev 91237)
+++ PKGBUILD    2010-09-24 22:50:12 UTC (rev 91238)
@@ -3,13 +3,14 @@
 
 pkgname=pkgstats
 pkgver=2.1
-pkgrel=3
+pkgrel=4
 pkgdesc='submits a list of installed packages to the Arch Linux project'
 arch=('any')
 url='https://www.archlinux.de'
 license=('GPL')
 depends=('bash' 'curl' 'pacman' 'sed' 'coreutils' 'cron')
 source=('pkgstats.sh' 'pkgstats.cron')
+install='pkgstats.install'
 md5sums=('45df3a655efab2f8d38dcbe21f1ff14a'
          'e86e6b9778303367f2e31f5c311da685')
 

Added: pkgstats.install
===================================================================
--- pkgstats.install                            (rev 0)
+++ pkgstats.install    2010-09-24 22:50:12 UTC (rev 91238)
@@ -0,0 +1,10 @@
+post_upgrade() {
+       if [ "$(vercmp $2 2.1-4)" -lt 0 ]; then
+               post_install
+       fi
+}
+
+post_install() {
+       echo "Note: A weekly cronjob was installed to /etc/cron.weekly/pkgstats"
+       echo "      For more information see 
https://bbs.archlinux.org/viewtopic.php?id=105431";
+}

Reply via email to