diff options
author | zoe | 2021-06-13 15:13:34 +0200 |
---|---|---|
committer | zoe | 2021-06-13 15:13:34 +0200 |
commit | b422803814ae7580280e07df0fe87fe28de58920 (patch) | |
tree | 51d33998ab87e499b06c7453e3d9cee4b83c6b52 /updater.pl | |
parent | ab66986ea2a5ec752b5b6f71feb996a88121a752 (diff) | |
download | aur-cewe-monlivrephoto.tar.gz |
Cleaned PKGBUILD and updater.pl
Diffstat (limited to 'updater.pl')
-rw-r--r-- | updater.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/updater.pl b/updater.pl index 29c62428b880..46b47b7c689e 100644 --- a/updater.pl +++ b/updater.pl @@ -10,11 +10,11 @@ my $installer = ""; GetOptions("installer=s" => \$installer); -unless ($installer =~ /(OnlineFotoservice|Mein_CEWE_FOTOBUCH|Mon_LIVRE_PHOTO_CEWE)/){ +unless ($installer =~ /(Atelier_Photo_Fnac|Mon_LIVRE_PHOTO_CEWE)/){ 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' : 'cewe-fotowelt' : 'cewe-monlivrephoto'; + my $pkgName = $1 eq 'Atelier_Photo_Fnac' ? 'cewe-monlivrephoto'; chdir('/tmp'); system("wget https://aur.archlinux.org/cgit/aur.git/snapshot/$pkgName.tar.gz -O $pkgName.tar.gz"); |