From: Hugo Villeneuve Date: Thu, 5 Oct 2023 21:24:17 +0000 (-0400) Subject: Add update script X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=608c5b7bff2c6957a89c6ab4f4819c4c32af9594;p=fgen.git Add update script --- 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/