summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Dray2015-12-14 14:51:13 +1000
committerJustin Dray2015-12-14 14:51:13 +1000
commit1396a97e2350e2d5737e44899f1f82ada532a963 (patch)
treeda53bafd1a2e59714fd30b4e4a6b7465a0cc8b7a
parent057780bcc2330b52f84b2591a0f8547bdcc93e96 (diff)
downloadaur-1396a97e2350e2d5737e44899f1f82ada532a963.tar.gz
Update to: 4.5.0-3
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1e19ce87c80d..afbaa8331e92 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Dec 9 23:00:25 UTC 2015
+# Mon Dec 14 04:51:13 UTC 2015
pkgbase = crashplan
pkgdesc = An online/offsite backup solution
pkgver = 4.5.0
- pkgrel = 2
+ pkgrel = 3
url = http://www.crashplan.com
install = crashplan.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 7b5b99d934e8..03bc5d56200e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Bill Durr <billyburly [at] gmail [dot] com>
pkgname=crashplan
pkgver=4.5.0
-pkgrel=2
+pkgrel=3
pkgdesc="An online/offsite backup solution"
url="http://www.crashplan.com"
arch=('i686' 'x86_64')
@@ -58,6 +58,10 @@ package() {
rm "$pkgdir/opt/$pkgname/"*64.so
fi
+ # Use systemctl start/stop commands when it attempts to auto-update
+ sed -i 's/^$ENGINE_SCRIPT stop.*/systemctl stop crashplan >> $logfile 2>\&1/g' "$pkgdir/opt/crashplan/bin/restartLinux.sh"
+ sed -i 's/^$ENGINE_SCRIPT start.*/systemctl start crashplan >> $logfile 2>\&1/g' "$pkgdir/opt/crashplan/bin/restartLinux.sh"
+
for size in 16x16 32x32 64x64 128x128
do
install -Dm 644 "$pkgdir/opt/$pkgname/skin/icon_app_${size}.png" "$pkgdir/usr/share/icons/hicolor/${size}/apps/crashplan.png"