diff options
author | Justin Dray | 2016-04-21 12:10:45 +1000 |
---|---|---|
committer | Justin Dray | 2016-04-21 12:10:45 +1000 |
commit | f2d09980a16ab2a938f7550f154f1d2396843dfc (patch) | |
tree | 9b01e6dc1593de969a6a5bf74cffbf7a5325ec75 | |
parent | de9f1b5149572b355776fac374efa5e6a6d50d6f (diff) | |
download | aur-f2d09980a16ab2a938f7550f154f1d2396843dfc.tar.gz |
Update to: 4.6.0-5 - Try again to resolve upgrade issues from upstream
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | crashplan.install | 13 |
3 files changed, 13 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = crashplan pkgdesc = An online/offsite backup solution pkgver = 4.6.0 - pkgrel = 4 + pkgrel = 5 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=4 +pkgrel=5 pkgdesc="An online/offsite backup solution" url="http://www.crashplan.com" arch=('i686' 'x86_64') @@ -78,6 +78,4 @@ 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 6852ba6760f3..0b3940626535 100644 --- a/crashplan.install +++ b/crashplan.install @@ -3,7 +3,16 @@ post_install () { post_upgrade } -post_upgrade () { +pre_upgrade () { # Pacman doesn't retroactively change folder permissions, just warns about differences - chmod 000 /opt/crashplan/upgrade + pre_remove + chmod 755 /opt/crashplan/upgrade +} + +post_upgrade () { + chattr +i /opt/crashplan/upgrade +} + +pre_remove () { + chattr -i /opt/crashplan/upgrade } |