Create UPDATE.sh

This commit is contained in:
everest 2022-03-07 21:24:16 +00:00 committed by GitHub
parent 95d63e9966
commit 283da1b4ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
UPDATE.sh Normal file
View File

@ -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 "+----------------------------------------------+"
# //
# //
# //
# //
# //