diff options
author | Justin Dray | 2016-03-24 12:47:20 +1000 |
---|---|---|
committer | Justin Dray | 2016-03-24 12:47:20 +1000 |
commit | 7134fdf01d439ea56512291072b8ec0f0162422b (patch) | |
tree | 2b18822f9ca0d77d9f864423fba22e0b856f77e6 | |
parent | 0d090d72c064e9b745b85dc5b4cd75bbf88e808c (diff) | |
download | aur-7134fdf01d439ea56512291072b8ec0f0162422b.tar.gz |
Update to: 4.6.0-3 - Disable auto-upgrades
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | crashplan.install | 6 |
3 files changed, 10 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = crashplan pkgdesc = An online/offsite backup solution pkgver = 4.6.0 - pkgrel = 2 + pkgrel = 3 url = http://www.crashplan.com install = crashplan.install arch = i686 @@ -3,7 +3,7 @@ # Contributor: Bill Durr <billyburly [at] gmail [dot] com> pkgname=crashplan pkgver=4.6.0 -pkgrel=2 +pkgrel=3 pkgdesc="An online/offsite backup solution" url="http://www.crashplan.com" arch=('i686' 'x86_64') @@ -78,4 +78,6 @@ package() { install -Dm 644 "$srcdir/crashplan-install/scripts/run.conf" "$pkgdir/opt/$pkgname/bin/run.conf" install -Dm 755 "$srcdir/crashplan-install/scripts/CrashPlanEngine" "$pkgdir/opt/$pkgname/bin/CrashPlanEngine" install -Dm 755 "$srcdir/crashplan-install/scripts/CrashPlan.desktop" "$pkgdir/usr/share/applications/crashplan.desktop" + rm -rf "$pkgdir/opt/$pkgname/upgrade" + install -dm 000 "$pkgdir/opt/$pkgname/upgrade" } diff --git a/crashplan.install b/crashplan.install index 986dccbb2660..6852ba6760f3 100644 --- a/crashplan.install +++ b/crashplan.install @@ -1,3 +1,9 @@ post_install () { echo "INSTALLDATE=$(date +%Y%m%d)" >> "/opt/crashplan/install.vars" + post_upgrade +} + +post_upgrade () { + # Pacman doesn't retroactively change folder permissions, just warns about differences + chmod 000 /opt/crashplan/upgrade } |