refactor(pretty_gcode.sh): merge pgc code and fix some shellsheck warnings

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-01 17:57:59 +02:00
parent d18f679ece
commit ec1bc0a309
5 changed files with 116 additions and 90 deletions

View File

@@ -132,13 +132,6 @@ update_fluidd(){
symlink_webui_nginx_log "fluidd"
}
update_pgc_for_klipper(){
PGC_DIR="${HOME}/pgcode"
status_msg "Updating PrettyGCode for Klipper ..."
cd $PGC_DIR && git pull
ok_msg "Update complete!"
}
update_system(){
status_msg "Updating System ..."
sudo apt-get update --allow-releaseinfo-change && sudo apt-get upgrade -y