summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Dray2016-03-24 12:47:20 +1000
committerJustin Dray2016-03-24 12:47:20 +1000
commit7134fdf01d439ea56512291072b8ec0f0162422b (patch)
tree2b18822f9ca0d77d9f864423fba22e0b856f77e6
parent0d090d72c064e9b745b85dc5b4cd75bbf88e808c (diff)
downloadaur-7134fdf01d439ea56512291072b8ec0f0162422b.tar.gz
Update to: 4.6.0-3 - Disable auto-upgrades
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--crashplan.install6
3 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eddced822320..9f21d65647bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 18645db67cb4..6faac3ed0b24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}