projects
/
fgen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb0bf1
)
Add update script
author
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 5 Oct 2023 21:24:17 +0000
(17:24 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 7 Oct 2023 15:45:53 +0000
(11:45 -0400)
update.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/update.sh
b/update.sh
new file mode 100755
(executable)
index 0000000..
a662649
--- /dev/null
+++ b/
update.sh
@@ -0,0
+1,10
@@
+#!/bin/sh
+
+git fetch --all
+git reset --hard origin/master
+
+if [ ! -d /usr/local/bin ]; then
+ sudo install -d /usr/local/bin/
+fi
+
+sudo install -m0755 fgen.sh /usr/local/bin/