From 283da1b4efac58ac8953337a6670b7faaf47a5df Mon Sep 17 00:00:00 2001 From: everest Date: Mon, 7 Mar 2022 21:24:16 +0000 Subject: [PATCH] Create UPDATE.sh --- UPDATE.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 UPDATE.sh diff --git a/UPDATE.sh b/UPDATE.sh new file mode 100644 index 0000000..6983954 --- /dev/null +++ b/UPDATE.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# Sherpa update script +# This script compiles the Sherpa source files into executable binaries, removes the outdated binaries, and replaces them with the updated binaries + +echo "Updating Sherpa..." +gcc -O2 -Wall $(pkg-config --cflags vte-2.91) sherpa.c -o sherpa $(pkg-config --libs vte-2.91) # Compile main Sherpa binary +echo "CC sherpa.c" +rm /usr/bin/sherpa +mv sherpa /usr/bin +echo "+----------------------------------------------+" +echo "| Sherpa has been succesfully updated. |" +echo "+----------------------------------------------+" +# // +# // +# // +# // +# //