From 9ae73081f438595c95aa836a62c7ae5465748d70 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 20 Nov 2012 06:59:39 +0100 Subject: gitignore improvment + remove file to be downloaded if it already exists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- emacs-gtk2/watch | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs-gtk2') 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 -- cgit v1.2.3-70-g09d2