aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAche <ache@ache.one>2016-05-20 04:39:37 +0200
committerAche <ache@ache.one>2016-05-20 04:39:37 +0200
commit1256d8a9994b8958a8af31cbec7a5f302241840c (patch)
tree0795304b1533599259deaec9126d1ff69664548c
parentUpdate of the death (diff)
Makefile update
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index d177b65..b74233a 100644
--- a/makefile
+++ b/makefile
@@ -17,7 +17,8 @@ mrproper: clean
/usr/bin/todo: todo
cp ./todo /usr/bin/
-install: /usr/bin/todo
+install: todo
+ [ -e /usr/bin/todo ] && sudo cp todo /usr/bin/todo
uninstall: /usr/bin/todo
rm /usr/bin/todo