Update git_backup.sh
This commit is contained in:
parent
3ca1071142
commit
7817b741bb
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ function remove_git_backup(){
|
||||||
echo -e "Info: Removing files..."
|
echo -e "Info: Removing files..."
|
||||||
rm -f "$HS_CONFIG_FOLDER"/git-backup.cfg
|
rm -f "$HS_CONFIG_FOLDER"/git-backup.cfg
|
||||||
rm -f "INITD_FOLDER"/S52Git-Backup
|
rm -f "INITD_FOLDER"/S52Git-Backup
|
||||||
|
rm -rf "$PRINTER_DATA_FOLDER"/.git
|
||||||
if grep -q "include Helper-Script/git-backup" "$PRINTER_CFG" ; then
|
if grep -q "include Helper-Script/git-backup" "$PRINTER_CFG" ; then
|
||||||
echo -e "Info: Removing Git Backup configurations in printer.cfg file..."
|
echo -e "Info: Removing Git Backup configurations in printer.cfg file..."
|
||||||
sed -i '/include Helper-Script\/git-backup\.cfg/d' "$PRINTER_CFG"
|
sed -i '/include Helper-Script\/git-backup\.cfg/d' "$PRINTER_CFG"
|
||||||
|
|
Loading…
Add table
Reference in a new issue