summarylogtreecommitdiffstats
path: root/updater.pl
diff options
context:
space:
mode:
authorJames Crompton2020-12-06 13:19:09 +0100
committerJames Crompton2020-12-06 13:25:05 +0100
commitc789ea65eba78b8a3543d68f78bf7059cd32b045 (patch)
treec91bdafccc4557906ccf6ff4c922b137390ef220 /updater.pl
parentc592abe5d655de4eba267d3087b08860c6c713c6 (diff)
downloadaur-c789ea65eba78b8a3543d68f78bf7059cd32b045.tar.gz
updater changed because of new name of other package
Diffstat (limited to 'updater.pl')
-rw-r--r--updater.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/updater.pl b/updater.pl
index 2fb5a9d80c7f..06ed9f05abd9 100644
--- a/updater.pl
+++ b/updater.pl
@@ -10,11 +10,11 @@ my $installer = "";
GetOptions("installer=s" => \$installer);
-unless ($installer =~ /(cewe-fotoservice|Mein_CEWE_FOTOBUCH)/){
+unless ($installer =~ /(CEWE_Fotowelt|Mein_CEWE_FOTOBUCH)/){
print "\033[1;31mNo AUR package available for this update ('$installer').\033[0m"
}else{
- my $pkgName = $1 eq 'Mein_CEWE_FOTOBUCH' ? 'cewe-fotobuch' : 'cewe-fotoservice';
+ my $pkgName = $1 eq 'Mein_CEWE_FOTOBUCH' ? 'cewe-fotobuch' : 'cewe-fotowelt';
chdir('/tmp');
system("wget https://aur.archlinux.org/cgit/aur.git/snapshot/$pkgName.tar.gz -O $pkgName.tar.gz");