aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-gtk2/watch
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-11-20 06:59:39 +0100
committerMattias Andrée <maandree@operamail.com>2012-11-20 06:59:39 +0100
commit9ae73081f438595c95aa836a62c7ae5465748d70 (patch)
treee10d8df993294770afb20f218e9fbb0d50147d33 /emacs-gtk2/watch
parentdue not notify about a package being unfetchable twice, now that running this is automated. (diff)
downloadaur-packages-9ae73081f438595c95aa836a62c7ae5465748d70.tar.gz
aur-packages-9ae73081f438595c95aa836a62c7ae5465748d70.tar.bz2
aur-packages-9ae73081f438595c95aa836a62c7ae5465748d70.tar.xz
gitignore improvment + remove file to be downloaded if it already exists
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-xemacs-gtk2/watch3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs-gtk2/watch b/emacs-gtk2/watch
index 6a52673..50e5aad 100755
--- a/emacs-gtk2/watch
+++ b/emacs-gtk2/watch
@@ -1,5 +1,8 @@
#!/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