diff options
author | Mattias Andrée <m@maandree.se> | 2024-10-08 20:28:25 +0200 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-10-08 20:28:25 +0200 |
commit | 472e769077880733441136516ce8f71be35939f1 (patch) | |
tree | 424589dfda6ca797b08e6c58b57c4476a8c1dbc2 /emacs-gtk2/watch | |
parent | Update e-mail (diff) | |
download | aur-packages-472e769077880733441136516ce8f71be35939f1.tar.gz aur-packages-472e769077880733441136516ce8f71be35939f1.tar.bz2 aur-packages-472e769077880733441136516ce8f71be35939f1.tar.xz |
Remove some old packages
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'emacs-gtk2/watch')
-rwxr-xr-x | emacs-gtk2/watch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/emacs-gtk2/watch b/emacs-gtk2/watch deleted file mode 100755 index fe196c5..0000000 --- a/emacs-gtk2/watch +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -[ -f 'PKGBUILD?h=packages%2Femacs' ] && rm 'PKGBUILD?h=packages%2Femacs' -[ -f 'emacs.install?h=packages%2Femacs' ] && rm 'emacs.install?h=packages%2Femacs' - -wget 'https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/emacs' >/dev/null 2>/dev/null -wget 'https://projects.archlinux.org/svntogit/packages.git/plain/trunk/emacs.install?h=packages/emacs' >/dev/null 2>/dev/null - -mv 'PKGBUILD?h=packages%2Femacs' PKGBUILD.upstream.new -mv 'emacs.install?h=packages%2Femacs' emacs.install.upstream.new - -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - grep ^pkg < PKGBUILD.upstream.new | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - diff PKGBUILD.upstream.{old,new} > PKGBUILD.upstream.diff - diff emacs.install.upstream.{old,new} > emacs.install.upstream.diff - mv PKGBUILD.upstream.{new,old} - mv emacs.install.upstream.{new,old} - echo 'emacs-gtk2' - fi -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'emacs-gtk2 (unfetchable)' -fi - |