aboutsummaryrefslogtreecommitdiffstats
path: root/pony
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 /pony
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 'pony')
-rw-r--r--pony/.gitignore1
-rwxr-xr-xpony/watch1
2 files changed, 2 insertions, 0 deletions
diff --git a/pony/.gitignore b/pony/.gitignore
new file mode 100644
index 0000000..4139e4a
--- /dev/null
+++ b/pony/.gitignore
@@ -0,0 +1 @@
+/pony
diff --git a/pony/watch b/pony/watch
index c45ca4b..c4f1121 100755
--- a/pony/watch
+++ b/pony/watch
@@ -1,5 +1,6 @@
#!/bin/sh
+[ -f 'pony' ] && rm 'pony'
wget http://hackage.haskell.org/package/pony >/dev/null 2>/dev/null
if [ $? = 0 ]; then
[ -f unfetchable ] && rm unfetchable