From 608c5b7bff2c6957a89c6ab4f4819c4c32af9594 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Thu, 5 Oct 2023 17:24:17 -0400 Subject: [PATCH] Add update script --- update.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 update.sh diff --git a/update.sh b/update.sh new file mode 100755 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/ -- 2.20.1