Update git_backup.sh

This commit is contained in:
Cyril 2024-04-11 11:45:30 +02:00
parent c98d8d4927
commit 39d5f98488

View file

@ -65,7 +65,7 @@ function remove_git_backup(){
echo -e "Info: Removing files..."
rm -f "$HS_CONFIG_FOLDER"/git-backup.cfg
rm -f "$INITD_FOLDER"/S52Git-Backup
rm -rf "$PRINTER_DATA_FOLDER"/config/.git
rm -rf "$KLIPPER_CONFIG_FOLDER"/.git
if grep -q "include Helper-Script/git-backup" "$PRINTER_CFG" ; then
echo -e "Info: Removing Git Backup configurations in printer.cfg file..."
sed -i '/include Helper-Script\/git-backup\.cfg/d' "$PRINTER_CFG"