Create UPDATE.sh
This commit is contained in:
parent
95d63e9966
commit
283da1b4ef
17
UPDATE.sh
Normal file
17
UPDATE.sh
Normal 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 "+----------------------------------------------+"
|
||||
# //
|
||||
# //
|
||||
# //
|
||||
# //
|
||||
# //
|
Loading…
Reference in New Issue
Block a user