summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Crompton2016-03-09 10:31:43 +0100
committerJames Crompton2016-03-09 10:31:43 +0100
commit8697077f71e665bfeb9f96b176eecabcbc33b6fd (patch)
tree04ad52a57f13de2afa049c8d857226a53408b851
parent87b01c737e43c1162061b7849c94254f1a5a49b9 (diff)
downloadaur-8697077f71e665bfeb9f96b176eecabcbc33b6fd.tar.gz
Don't re-download installer package on upgrade
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--updater.pl1
3 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index be08cbc96675..4585ee05955f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -16,7 +16,7 @@ pkgbase = cewe-fotobuch
source = http://dls.photoprintit.de/download/Data/16523/hps/setup_Mein_CEWE_FOTOBUCH.tgz
source = updater.pl
md5sums = 9197c2551c471da202de3f0652eba324
- md5sums = 4df55a80124dc8555edf799bd566c5de
+ md5sums = 422a405d520e18ef9afade2e7c24440b
pkgname = cewe-fotobuch
diff --git a/PKGBUILD b/PKGBUILD
index c2bba99a0190..90fb2424141d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=cewe-fotobuch
conflicts=(cewe-fotoservice)
pkgdesc="an offline client for creating photobooks, uploading and ordering them at cewe.de"
md5sums=('9197c2551c471da202de3f0652eba324'
- '4df55a80124dc8555edf799bd566c5de')
+ '422a405d520e18ef9afade2e7c24440b')
##########################################
# remaining code shared with cewe-fotoservice
diff --git a/updater.pl b/updater.pl
index ffa6a3fd3f8b..26dfaa430d0b 100644
--- a/updater.pl
+++ b/updater.pl
@@ -20,6 +20,7 @@ system("wget https://aur.archlinux.org/cgit/aur.git/snapshot/$pkgName.tar.gz -O
system("tar -xvf $pkgName.tar.gz");
chdir($pkgName);
+system("mv '$installer' ./");
system('_UPDATING=1 makepkg --install --clean --skipchecksums');
print "\nSie können dieses Fenster jetzt schließen.\n";